Running multiple websites from different domains on same webserver

Phusion phusion2k at gmail.com
Tue Jul 4 01:23:53 UTC 2006


I am running BIND9 and need help with the following. I have a server that runs
a few different websites using different domains. Let's use the following names.

http://www.abc.com/
http://reports.abc.net/

Below, I've listed the output from the following files. Both of these websites
are located at 192.168.1.35. I currently have it in the 1.168.192.in-addr.arpa
file and in the db.abc.net file. When I add it to the db.abc.com file I get the
following error in from named.

Jul  3 19:51:21 ns named[19453]: db.abc.com:22: ignoring out-of-zone
data (www.abc.com)

Output from files.

--------------------

%cat 1.168.192.in-addr.arpa
$TTL    3600

1.168.192.in-addr.arpa. IN      SOA     ns.abc.com. root.ns.abc.com. (
                        20060615
                        3600
                        900
                        3600000
                        3600)

; Name servers
1.168.192.in-addr.arpa. IN      NS      ns.abc.com.

35.1.168.192.in-addr.arpa.      IN      PTR     reports.abc.net.

--------------------

%cat db.abc.net
$TTL    3600

abc.net.    IN      SOA     ns.abc.com. root.ns.abc.com. (
                        20050908
                        3600
                        900
                        3600000
                        3600)

; Name servers
@       IN      NS      ns.abc.com.

; Host Addresses
reports.abc.net.    IN      A       192.168.1.35

--------------------

The problem seems to be because of the different domains. Let me know how this
can be done.

Phusion



More information about the bind-users mailing list