Hi,
I tried to create two virtual hosts on the domain "localhost" for the Web sites "melonfire-alpha.com" and "melonfire-beta.com". using apache server.I configured httpd.conf file to the following code.
host setting for melonfire-alpha.com
<VirtualHost 127.0.0.1>
ServerAdmin
webmaster@melonfire-alpha.com DocumentRoot /www/melonfire-alpha.com
ServerName melonfire-alpha.com
ErrorLog logs/melonfire-alpha.com-error_log
CustomLog logs/melonfire-alpha.com-access_log common
</VirtualHost>
# host setting for melonfire-beta.com
<VirtualHost 127.0.0.1>
ServerAdmin
webmaster@melonfire-beta.com DocumentRoot /www/melonfire-beta.com
ServerName melonfire-beta.com
ErrorLog logs/melonfire-beta.com-error_log
CustomLog logs/melonfire-beta.com-access_log common
</VirtualHost>
when I restared the apache webserver and tried, its not working. what might have went wrong. Do I need to register those two domian names. if so how to do. Is there any method of making local computer as web server using apache server. Even when local computer act as web server, still is there need to register website names.
Can any body please explain me the whole concept.
Thanks
Arathi
[ May 30, 2003: Message edited by: Arathi Raj ]