Is it possible to to have 2 different websites with with XAMPP I have read about Virtual Host in this forum, but is that for to different domain names for the same ip and if yes how do I start the proccese I know is under http.conf file but what I dont knw is what information that I have to put there because I tried putting :
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot G:\apachefriends\xampp\htdocs
</VirtualHost>
<VirtualHost *:80>
ServerName www.mysite.com
ServerAlias mysite.com *.mysite.com
DocumentRoot G:\apachefriends\xampp\htdocs\site2
</VirtualHost>
but it still tooked me to http://localhost
I have registered my name, and since I got a Dynamic IP, I have http://thatip.com service to re-route to my IP in my computer. Im running winXP.
How do I prevent www.mysite.com from going to localhost?
Thank You.