KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

How to set up domain redirection in cPanel?

On many occasions you need to redirect certain domain traffic to another one. In that case there might be manual steps you need to perform to get redirection done. cPanel offers you a direct option to setup redirection of hosted domains.


Adding Domain Redirection

1. Log in to cPanel using Username Password. i.e; (https://yourdomain.com:2083 or https://yourdomain.com/cpanel)

2. Navigate to Domains → Redirects.

navigate-to-domain-redirects-cpanel

3. Fill in the necessary information,

Type: Select type of Redirection Permanent or Temporary.

https?://(www.)? (Domain): Select the domain which you would like to redirect.

URL (/): Specify URL link (Example: /your-test-page-url)

Redirects to: Now enter destination URL/Domain.

www. Redirection: If you have CNAME configured or www subdomain configured and just wanted to redirect www. traffic, then you can select “Only redirect with www.”, if you want to redirect with or without www, then select “Redirect with or without www.”. Lastly, if you don’t want to redirect with www, select “Do Not Redirect www.”.

Wild Card Redirect: If you select this option, all the URLs situated with the selected domain will be redirected to the destination URL/Domain.

enter-required-information-for-redirections

4. Finally, click on “Add“.

How-to-set-up-domain-redirection-in-cPanel

5. Congratulations! You have successfully configured domain redirection in cPanel.

redirection-confirmation-screen-message

Removing Domain Redirection

1. Log in to cPanel using Username Password. i.e; (https://yourdomain.com:2083 or https://yourdomain.com/cpanel)

2. Navigate to Domains → Redirects.

navigate-to-domain-redirects-cpanel

3. Navigate to “Current Redirects“, where you can find all the list of configured redirections.

navigate-to-current-redirection

4. Navigate to a specific Redirection → Click on “Delete“.

how-to-remove-domain-redirection-in-cpanel

5. On the confirmation screen again, click on “Remove Redirect“.

confirmation-screen-redirection-removal-cpanel

Conclusion

Now that we’ve gone over how to set up/remove domain redirection in cpanel. We have adequately covered how redirection works and a step-by-step guide to set up domain redirection in cPanel.

KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team is ready to help you should you need our assistance. You’re not using KnownHost for the best web hosting experience? Well, why not? Check with our Sales team to see what can KnownHost do for you in improving your web hosting experience.