Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Mapping domains to IP's - DNS and virtual hosts

ITAITA Member Posts: 463
I'm trying to set up a virtual host configuration so that I can have several websites on the same server.

I've put this into my httpd.conf file:

[code]


DocumentRoot "C:/program files/apache group/apache2/htdocs/musiclicks/"
ServerName www.musiclicks_test.com
ErrorLog logs/musiclicks_test
CustomLog logs/musiclicks_test common




DocumentRoot "C:/program files/apache group/apache2/htdocs/datel/"
ServerName www.datel_test.com
ErrorLog logs/datel_test
CustomLog logs/datel_test common


[/code]

I did this by reading the documentation. However, the documentation also says that you have to map the domain names to a DNS server. How would I do this? This is on a Win XP machine, which is configured to receive it's DNS automatically. I want to map the addresses to the 127.0.0.1 IP so that I can have several websites on my testing machine.

Please help,

many thanks,

ITA
"Let us smite the evil slime eating hordes who may befall us on our quest to be the ultimate programmers of the known universe!"
Sign In or Register to comment.