Search The Hostwinds Guides Knowledge Base

How Can I Make Another Domain Redirect to My Primary Domain?

In cPanel, you’re able to set up any necessary redirects through a simple submission form.  Head to your cPanel account, Home > Domains section and locate Redirects.

 

If you are not familiar with how to locate or log in to your cPanel, please review: How To Access cPanel

 

cPanel Redirects Location Image

 

Follow these instructions to complete the form and properly setup a domain redirect to your primary domain (please review image below for guidance):

 

Step 1:  Select Permanent (301)

Step 2:  Select the domain you want redirected from the **All Public Domains** dropdown

 

If you wish to only redirect from a specific page then enter the rest of the url in the text box below (For example, if you wish to redirect http://example.com/list-of-examples to another URL, enter list-of-examples in this text box)

 

Step 3:  Enter the URL you wish to send the user to in the Redirects to text box

Step 4:  In the www.redirection: choices section choose one of the options

 

a. Only redirect with www. – Users must enter the www prefix as part of the URL for the redirect to be valid
b. Redirect with or without www. – This option is universal, no matter how the user enters the URL they will be redirected to the new website
c. Do Not Redirect www. – If the user enters www then they will not be sent to the new website, only without the prefix will they be moved

 

Step 5:  Click the Add button

 

Showing the Add redirect form in cPanel

 

Note: You can test the redirect by clicking on the link in the Current Redirects section below the Add Redirect section

 

This will update your .htaccess file within cPanel >> File Manager for redirecting.

 

How To Delete A Redirection

After adding a redirection, you may need to delete for multiple reasons.  One reason might be that the redirection produces an error, thus you need to delete for further troubleshooting.  Locate the Redirects option in your cPanel as mentioned above.  Any redirection currently created can be reviewed at the bottom of this page.  Fine and select the Delete button to delete a current redirection.

 

cPanel redirection delete button location image

 

Related Articles