Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

edit dns to pass web part to another server

Discussion in 'Bind/DNS/Nameserver' started by screege, Feb 16, 2011.

  1. screege

    screege Well-Known Member

    Aug 11, 2004
    Likes Received:
    Trophy Points:
    Hi a client developed an asp page and is hosted in another server, I wanted to know if I can edit the dns zone to just pass the web part to the other server since they wish to have their emails on the current server. what records do I need to edit or delete? The new host is just giving me their nameservers and ip address:

    This are the web part I need to put in the dns.


  2. LinuxTechie

    LinuxTechie Well-Known Member

    Jan 22, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    Do you want to change the name servers only or the A record also for the domain? You can edit these from the option Edit Dns from WHM.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello screege,

    Since the MX record is typically simply IN MX for the mail, you will need to change the MX record to be instead for the MX record, then change to match your server's IP. Next, you will need to change the A record for the domain for and to point to the new IP where they site will be housed for the web pages. Finally, you'd want to change ftp to also go to that location where the web pages will be, since they likely want to use FTP there instead of your machine.

    Basically, you'll need to edit these: 14400 IN A newIP# 14400 IN A newIP# 14400 IN MX 0 14400 IN A yourserverIP# 14400 IN A newIP#

    Any that are CNAME records, you would want to change to A records. In the above, is the domain name, newIP# is the new IP for the remote server where the site will be resolving, while yourserverIP# will be your server's IP for that domain.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice