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.

Edit DNS Zone - Redirect mydomain.co.uk to mydomain.com

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

  1. monkey64

    monkey64 Well-Known Member

    Joined:
    Nov 6, 2011
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
    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:
    86
    Likes Received:
    0
    Trophy Points:
    6
    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:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    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.
     
Loading...

Share This Page