How to Set Up Domain Redirection in cPanel
A domain redirection occurs when a web server redirects a visitor from one website to another website. An example is when we use www.domain1.com which redirects to another domain called www.domain2.com
Here's how we can setup a domain redirection in cPanel:
Login to cPanel and click on Redirects
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/9325ec9d-e120-446b-a343-e1d6b08e86dd.png)
Under Add Redirect, select the redirection type:
To specify a permanent redirection, select Permanent (301).
To specify a temporary redirection, select Temporary (302).
In this example, I'm going to select the Permanent (301) option
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/78f93286-fca7-416f-83e5-5fc1ab141887.png)
Click the next drop-down box and choose the domain you want to redirect.
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/b10776ea-2e86-4644-9d36-1d032fe7fd1e.png)
For the slash '/' field, enter any folder names (if necessary).
Enter the web address you want to redirect to in the Redirects to section.
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/eb5b3276-ff4f-4eb7-b1b5-d2e587d6a2be.png)
Choose if you want to "Only redirect with www." "Redirect with or without www." or "Do Not Redirect www.". In this example, I'm going to choose " Redirect with or without www ".
Check the box if you want to create a Wild Card Redirect. This will add the the file/folder name after the url when it redirects. For instance, example.com/test.php would redirect to example2.com/test.php.
In this example, I'm NOT going to check the box for Wild Card Redirect. Click Add to finish the domain redirection setup.
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/6735bba2-c469-48b9-b567-2f22f17aee32.png)
Congratulations, now you know how to create a domain redirect in your cPanel!
Here's how we can setup a domain redirection in cPanel:
Login to cPanel and click on Redirects
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/9325ec9d-e120-446b-a343-e1d6b08e86dd.png)
Under Add Redirect, select the redirection type:
To specify a permanent redirection, select Permanent (301).
To specify a temporary redirection, select Temporary (302).
In this example, I'm going to select the Permanent (301) option
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/78f93286-fca7-416f-83e5-5fc1ab141887.png)
Click the next drop-down box and choose the domain you want to redirect.
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/b10776ea-2e86-4644-9d36-1d032fe7fd1e.png)
For the slash '/' field, enter any folder names (if necessary).
Enter the web address you want to redirect to in the Redirects to section.
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/eb5b3276-ff4f-4eb7-b1b5-d2e587d6a2be.png)
Choose if you want to "Only redirect with www." "Redirect with or without www." or "Do Not Redirect www.". In this example, I'm going to choose " Redirect with or without www ".
Check the box if you want to create a Wild Card Redirect. This will add the the file/folder name after the url when it redirects. For instance, example.com/test.php would redirect to example2.com/test.php.
In this example, I'm NOT going to check the box for Wild Card Redirect. Click Add to finish the domain redirection setup.
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/6735bba2-c469-48b9-b567-2f22f17aee32.png)
Congratulations, now you know how to create a domain redirect in your cPanel!
Updated on: 27/12/2018
Thank you!