Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all, Web server with hosting company running Centos 5.5 and Apache My server has one public IP and one domain name I just purchased 2 more domain names I ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Location
    london
    Posts
    8

    dns question

    Hi all,

    Web server with hosting company running Centos 5.5 and Apache

    My server has one public IP and one domain name

    I just purchased 2 more domain names

    I want all domains to point to that one IP

    I can set this up on the server no problem

    Can my hosting company point the 3 domains to that 1 IP on their nameservers

    All domains are purchased form the hosting company and the IP came with the server

    Thanks in advance

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    Yes, you can.
    HTTPS might be a Problem, though.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Location
    london
    Posts
    8
    is this done by asking them to set rDNS on their nameservers

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,096
    Most Domain Providers offer an adminwebinterface for their customers to do that
    If not, ask them to set DNS.
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Dec 2009
    Location
    California
    Posts
    68
    I have about 30 domains running on one IP on my server.

    In the following examples, replace the "w3" with the standard 3 "w". For some reason the forum won't let me post the 3 "w".

    I normally use CNAME records for this. For example:
    In the unixpeople.com zone:
    w3.unixpeople.com. 600 IN CNAME woody.unixpeople.com.

    and in the objectmatrix.com zone:
    w3.objectmatrix.com. 86400 IN CNAME woody.unixpeople.com.

    Then, you just use virtualHost directive in apache to load different pages depending on the domain name that was specified:

    <VirtualHost *:80>
    DocumentRoot /home/krish/public_html
    ServerName w3.objectmatrix.com
    </VirtualHost>

    That should do it. This has nothing to do with rDNS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...