jasonmzs
asked on
Setting up different sites instead of using //localhost
Hi,
This is a followup to my question here:
https://www.experts-exchange.com/questions/21878153/How-to-change-localhost-to-something-else.html
So I installed an old copy of Win2000 Server.
Now i'd like to use a unique url to access each of the sites i'm working on, instead of accessing them thru local host. Eg: //jasonzsite/ -> where jasonzsite is what formerly used to be localhost, or www.clienta.com - > where www.clienta.com is what used to earlier be //localhost
How do I do this "Virtual WebSites" stuff as mentioned in my earlier questions accepted answer?
Thank You
This is a followup to my question here:
https://www.experts-exchange.com/questions/21878153/How-to-change-localhost-to-something-else.html
So I installed an old copy of Win2000 Server.
Now i'd like to use a unique url to access each of the sites i'm working on, instead of accessing them thru local host. Eg: //jasonzsite/ -> where jasonzsite is what formerly used to be localhost, or www.clienta.com - > where www.clienta.com is what used to earlier be //localhost
How do I do this "Virtual WebSites" stuff as mentioned in my earlier questions accepted answer?
Thank You
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<VirtualHost *>
ServerName www.site2.com
ServerAlias site2.com *.site2.com
DocumentRoot c:/www/site2
</VirtualHost>