Running multiple websites from different domains on same webserver

Barry Margolin barmar at alum.mit.edu
Tue Jul 4 01:52:08 UTC 2006


In article <e8cgpu$7te$1 at sf1.isc.org>, Phusion <phusion2k at gmail.com> 
wrote:

> 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)

We need to see named.conf and db.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

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list