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 'General Discussion' started by petermurtagh, May 14, 2013.

  1. petermurtagh

    petermurtagh Registered

    Joined:
    May 14, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, a client who currently hosts their website and mail on our server wishes to redirect to another server for their website whilst retaining their mail on our server. Can this be done with the domain nameservers pointing to our server, i.e. is it just a case of redirecting the A record for the domain to another server in the DNS settings?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yes, that is correct. Just change the A records to point to the desired IP address.

    Remember, though, that MX records point to A records, so make sure to make the MX records point to an A record that still points to your IP address. You may need to make a new A record in the zone for this purpose.

    Alternatively, you can just use the Redirects function in cPanel:

    Redirects

    The disadvantage of that, though, is that traffic for the site will still come to your server and the server will have to answer that traffic with the redirect.
     
Loading...

Share This Page