All Hosting Plan Are Also Available On Monthly, Quarterly And Semi-Annually.
< All Topics
Print

How to create domain redirection from cpanel

Domain redirection on cPanel is a simple process that forwards visitors from one URL to another. This is useful for various reasons, like pointing an old domain to a new one or redirecting a non-www version of your site to the www version.


Step 1: Access the Redirects Tool

  1. Log in to your cPanel account.
  2. In the main dashboard, find the Domains section.
  3. Click on Redirects.

Step 2: Configure the Redirection

On the “Redirects” page, you’ll find a form to set up your redirection rule.

  1. Type: Choose the type of redirection you want.
    • Permanent (301): This is the most common choice. It tells search engines and browsers that the page has moved permanently. This is the best option for SEO, as it passes on the link authority of the old URL to the new one.
    • Temporary (302): This indicates that the page has moved temporarily. Search engines will not pass on the link authority in this case.
  2. Domain: From the dropdown menu, select the domain you want to redirect.
  3. Redirects to: In this field, enter the full URL of the destination where you want visitors to be sent. For example, https://www.newdomain.com.
  4. www. Redirection: You have three options here:
    • Only redirect with www.: Redirects www.yourdomain.com but leaves yourdomain.com alone.
    • Redirect with or without www.: Redirects both www.yourdomain.com and yourdomain.com. This is the most common and recommended option for general domain forwarding.
    • Do Not Redirect www.: Leaves www.yourdomain.com alone.
  5. Wildcard Redirect: Check this box if you want to redirect all files within the old domain to the corresponding files on the new domain. For example, if you check this, olddomain.com/blog/post1 will redirect to newdomain.com/blog/post1. This is a very powerful feature for migrating entire websites.

Step 3: Add the Redirection

After filling out the form, click the Add button. cPanel will create the redirection rule, and it will take effect almost immediately. The new redirection will be listed in the table at the bottom of the page, where you can also test or remove it if needed.

Table of Contents

Windows Hosting is comming soon. All Hosting Plan Are Also Available On Monthly, Quarterly And Semi-Annually.

Call back request.