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 Zone - Redirect mydomain.co.uk to mydomain.com

Discussion in 'Bind/DNS/Nameserver' started by monkey64, Dec 22, 2011.

  1. monkey64

    monkey64 Well-Known Member

    Joined:
    Nov 6, 2011
    Messages:
    90
    Likes Received:
    1
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    I'm sure this is easy when you know how...
    I have two domains set up:
    www.mydoman.co.uk and www.mydomain.com.
    From WHM, I want to be able to redirect users from the .co.uk to the .com domain.
    I could go to the trouble of using .htaccess to perform a redirect but think there is a cleaner way to do it using DNS. I had a look at the Edit DNS Zone page but was too chicken to start randomly editing!
     
  2. monkey64

    monkey64 Well-Known Member

    Joined:
    Nov 6, 2011
    Messages:
    90
    Likes Received:
    1
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    Okay. I found the answer: it's easy.
    Just log into the CPanel for the website you want to redirect and under "Domains", select "Redirects". From there it is simple.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The redirects option within cPanel would be a valid way to redirect one domain name to another URL. Another method that many customers use is to add the domain name as a Parked domain to cPanel. This allows visitors to see the content of another domain, while keeping the URL in the browser the same.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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