I am new to working with IIS and have set up two websites on it:
-
www.websiteA.com
located at/directory1/websiteA
-
www.websiteB.com
located at/directory1/websiteB
The websites have the same IP address but separate ‘A’ records. I bound them to their own URLs using the ‘Bindings’ option in IIS.
Website 1, www.websiteA.com
is a simple HTML site and works as expected, masking the URL name.
Website 2, www.websiteB.com
is a Wordpress installation. It works fine but does not mask the directory name in the URL bar.
I am using Windows Server 2019 and both websites have their own web.config
files. HTTPS is not set up yet.
Do I need to create a URL rewrite or is there something else I can do to get www.websiteB.com
to mask the directory name in the URL bar?