Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default Alternate Name for Name Server

    I have a DNS Name Server in cpanel set up for:

    ns1.name1.com IP Address 1
    ns2.name1.com IP Address 2

    I would like to set up alternate names for my DNS Name Servers such that:

    ns1.name2.com IP Address 1
    ns2.name2.com IP Address 2

    So that the same name server has two different names. A friend of mine has told me that this is possible to do in Linux, but when he looked at the way cPanel was set up he was scared that he might break something.

    I am running WHM 10.8.0 cPanel 10.8.2-R119 with the x Theme.

    Can somebody point me to a tutorial on how to do this?

  2. #2
    Member
    Join Date
    Nov 2006
    Location
    Lithuania
    Posts
    122

    Default

    First you should register ns1.name2.com and ns2.name2.com at your domain registrar. Then add A records for ns1.name2.com and ns2.name2.com in name2.com zone file.

    You also need to tell DNS server these new names. In WHM's DNS servers edit function I belive you can add new name servers if you have free IPs left, so in this case it won't help. I think you will have to edit DNS server configuration file.
    Gytis Repecka aka Kelmas
    NFS Tuning / AutoNews.lt webmaster, IT journalist

  3. #3
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default

    Can you tell me which link in the WHM x Theme I would click on to add A records for ns1.name2.com and ns2.name2.com in name2.com zone file?

    Thanks!

  4. #4
    Member
    Join Date
    Nov 2006
    Location
    Lithuania
    Posts
    122

    Default

    Quote Originally Posted by charliep View Post
    Can you tell me which link in the WHM x Theme I would click on to add A records for ns1.name2.com and ns2.name2.com in name2.com zone file?

    Thanks!
    If name2.com already has a zone on your server, you need to find DNS Functions > Edit DNS Zone and choose name2com.

    If you do not already have name2.com set up on your server, either park it in cPanel and then edit zone as mentioned above, or use DNS Functions > Add a DNS Zone.

    But that's the first step. I am not sure what modifications you have to do in your DNS server config.
    Gytis Repecka aka Kelmas
    NFS Tuning / AutoNews.lt webmaster, IT journalist

  5. #5
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default

    Okay, I created an account for name2.com and then I go in to edit the Zone File of name2.com. Can you please confirm that I should:

    Change the two entries for Record Type NS from

    ns1.name1.com TO ns1.name2.com

    Can you also tell me how to edit DNS server configuration file?

    Thanks!

  6. #6
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default

    I am a little confused as to how this should all work. I can point my IP address to the new name server addresses of ns1.name2.com and ns2.name2.com and right now the account on my server is pointing toward ns1.name2.com and ns2.name2.com BUT there is nothing in my server tieing ns1.name2.com to IP address 1 or ns2.name2.com to IP address 2.

    Is this what I should modify the name server configuration file to do? If so I would appreciate it if you could provide a kind of detailed description of what I should do.

    Thanks!

  7. #7
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default

    Actually, it works! No further configuration required. Just follow these steps:

    1. Register the domain
    2. With your domain registry, assign a name server to the account.
    3. Enter the IP addresses of the previous name servers that are configured on your server so that:

    ns1.name1.com --> IP address 1 --> ns1.name2.com
    ns2.name1.com --> IP address 2 --> ns2.name2.com

    4. Set name servers with registry for this domain to ns1.name2.com and ns2.name2.com.
    5. Go to Cpanel and create an account for name2.com
    6. Go to DNS Functions > Edit DNS Zone and change the entries for Record Type NS from

    FROM ns1.name1.com TO ns1.name2.com
    FROM ns2.name1.com TO ns2.name2.com

    7. Wait a few hours for things to propogate! You are finished!
    Last edited by charliep; 11-26-2006 at 07:48 AM.

Similar Threads & Tags
Similar threads

  1. Alternate SMTP port?
    By jhyland87 in forum E-mail Discussions
    Replies: 8
    Last Post: 12-17-2009, 08:17 AM
  2. Alternate IP addresses
    By shacker23 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-04-2006, 09:13 PM
  3. Alternate SMTP Port
    By netnameus in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-12-2006, 11:24 AM
  4. alternate of ffmpeg
    By hosttrue in forum cPanel Developers
    Replies: 4
    Last Post: 08-27-2005, 02:16 AM
  5. Alternate FTP server?
    By thundera in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 04-26-2004, 07:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube