• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown

Apache Server doubt

Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
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

# host setting for melonfire-beta.com
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
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.
[ May 30, 2003: Message edited by: Arathi Raj ]
Check your pockets for water buffalo. You might need to use this tiny ad until locate a water buffalo:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic