Running multiple websites from different domains on same webserver - DNS

This is a discussion on Running multiple websites from different domains on same webserver - DNS ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Running multiple websites from different domains on same webserver

  1. Running multiple websites from different domains on same webserver

    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



  2. Re: Running multiple websites from different domains on same webserver

    In article , Phusion
    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@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 ***



+ Reply to Thread