Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Apache Virtual Hosting: Unknown Hos
Name: marty Date: May 12, 2003 at 10:27:01 Pacific OS: SuSE Linux 8.2 CPU/Ram: P4 2.4Ghz/512 MB
Comment:
Attempting to use virtual hosting on my local web server (stand alone). I made the appropriate configurations in /etc/httpd/httpd.conf for virtual hosting, but receive "unknown host" when accessing these hosts and when starting apache (rcapache start). I also attempted to use different domain names with the same result.
Any ideas? Do these hosts have to be listed in /etc/hosts?
Name: David Perry Date: May 12, 2003 at 16:04:02 Pacific
Reply:
Somewhere, you need to have in place something that translates a name to an IP number. Most people do this with a DNS server. Some do this with a WINS server. In a limited sense you could do it with an /etc/hosts file. The httpd.conf file tells the web server what to do with the request once it arrives.
0
Response Number 2
Name: jsototech Date: May 12, 2003 at 18:47:20 Pacific
Reply:
Not sure what your setup is. If your using apache on Linux... check /etc/resolv.conf... It should contain the IP's and names of your ISPs nameservers.
Summary: I am in the proccess of setting up my server with Linux. I just loaded it the other day and I love it! I want to trash the Win2K, Win98 etc. Everything runs fantastic.. EXCEPT... I can't get the vi...
Summary: Hi I need some help with setting up some Virtual Hosts on a apache server... This is what i write (no #) but nothing happend... ??? Why not ?? do i need to make the dir /var/www/www.planetbirch.dk mys...
Summary: I am trying to virtual host my apache 2.0.48 here is my virtual host file: namevirtualhost 192.168.1.101:80 ServerName www.jkcool.com DocumentRoot /website ServerName jkcool.com DocumentRoot /websit...