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

monkey64

Well-Known Member
Nov 6, 2011
121
5
68
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!
 

monkey64

Well-Known Member
Nov 6, 2011
121
5
68
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.