The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 11-20-2007
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 711
Quote:
Originally Posted by vutty81 View Post
i got it working now. i changed my ServerName in httpd.conf from my ip address to my domain name and thats why apache wouldnt start. if you havent registered your domain name yet and u still want to test apache u need to put ur ip address not the domain name next to ServerName.
Actually, you don't need to use the IP to test.
You can still have the ServerName set to what you want, just add the same name and the corresponding IP to use to your hosts file. If you are browsing from a unix machine, /etc/hosts, from windows, search for hosts and/or lmhosts (I think) and add it to those.
Reply With Quote