The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect webpage to another server

Discussion in 'Bind / DNS / Nameserver Issues' started by ozcanakd, Apr 5, 2015.

  1. ozcanakd

    ozcanakd Registered

    Joined:
    Apr 5, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Turkey
    cPanel Access Level:
    Website Owner
    I want to redirect our website to another ip, whilst retaining mail on our server. Can this be done with the domain nameservers pointing to our server? is it just a case of redirecting the cname record of the www. domainname .com to another server A record in the advanced DNS zone settings?
     
  2. madmanmachines

    madmanmachines Well-Known Member

    Joined:
    Nov 28, 2014
    Messages:
    94
    Likes Received:
    3
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hi,

    Simply point the 'A' record of the domain to the remote server. This should be enough to point your domain, but depending on your DNS configuration, it may point mail as well. You should ensure this is not the case. Locate your MX record(s) and ensure these have 'A' records corresponding to your desired mail server IP. Finally, at the bottom, ensure the mail is set to local, or the Automatic setting properly identifies the local server as the mail server.

    Thanks,
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,744
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, this is possible. As mentioned, simply update the "A" record of your domain name via the "Edit DNS Zone" option in WHM so that it points to the remote server's IP address.

    Thank you.
     
Loading...

Share This Page