Web Hosting Talk







View Full Version : Named Based domains (need help)


golfer
10-29-2002, 02:46 PM
I'm trying to get 3 domain names to share 1 IP address. I need to know what's supposed to go in the DNS, and what's supposed to go in the httpd.conf file.

I'm using RH and Apache 1.3.x

Can someone please supply an example what they have on both?

davidb
10-29-2002, 03:04 PM
dns, just set it up as usuall, typing in the same ips for everything, same thing goes for apache, you just type in the same ip for the 3 domains, and at somewhere in the file add something like:

namevirtualhost xxx.xxx.xxx.xxx

BiaSecurity
10-29-2002, 04:31 PM
check out http://www.tldp.org contains alot of good info on vhosts and dns setup