aspose file tools
The moose likes Tomcat and the fly likes Apache Server doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Apache Server doubt" Watch "Apache Server doubt" New topic
Author

Apache Server doubt

Arathi Raj
Ranch Hand

Joined: Nov 22, 2002
Posts: 90
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 ]
 
IntelliJ Java IDE
 
subject: Apache Server doubt
 
Threads others viewed
Help setting jforum and Apache->Tomcat connector
Request to Tomcat from remote machine
Setting up web sites
Help w/ Apache
virtual hosts
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture