Helpful Information
 
 
Category: IIS
Problem: Local home directory and Remote home directory is different

I am building multiple sites, located in my c:\inetpub\wwwroot folder as:

c:\inetpub\wwwroot\sitename\
site 1 content

c:\inetpub\wwwroot\sitename\
site2 content

c:\inetpub\wwwroot\sitename\
site3 content

In my local server I have to use folder names (/sitename/) in all of my URL related tags like pictures, CSS styles, redirect commands, include files, form actions etc..
But I have to strip the /sitename/ part from all of the URL descriptions before I upload...
When I update the site, same thing again. Put the /sitename/ , update, test, strip /sitename/ and upload :(

I tried almost everything in IIS control panel. Changed 100s of times web site properties. But nothing happened.

There must be a way to set up IIS to make each individual site folder as a root web directory...

Any help wil be appreciated.
Thanks in advance.

Sounds like you need to set up virtual hosts. Unfortunatey I can't tell you anything about how to do that in IIS, but maybe that will point you in the right direction.

The server version of IIS will allow you to set up multiple websites. The workstation version (W2K Pro/XP Pro) doesn't support multiple websites and you're stuck using "subwebs" for multiple sites.

Originally posted by Doug G
The server version of IIS will allow you to set up multiple websites. The workstation version (W2K Pro/XP Pro) doesn't support multiple websites and you're stuck using "subwebs" for multiple sites.
Thanks for replies guys.
Another convinient :rolleyes: Microsoft product huh? grrrrrr...










privacy (GDPR)