Loading...

Knowledge Base
 Up to 70% off  on  WordPress  hosting for WordPress Websites and Stores!

Redirecting a Domain in cPanel

A domain redirect, also known as URL forwarding, is a technique used in web management where a web page is made available under multiple URLs. When a web browser opens a URL that has been redirected, another page with a different URL is opened instead. Anyone who types in or clicks on the original URL will be automatically taken to a new page or site.

You can use a redirect to send website visitors from one domain or webpage to another. For example, you could set up a redirect that automatically takes users from www.example.com to www.example.info. Redirecting a domain in cPanel might be helpful if you want to temporarily shut down a website or point users to another website address.



Why Do You Need to Redirect?

These are the common reasons why you'd want to redirect your domain:

  • Consolidating Domains: If you own multiple domain names related to your brand, you can redirect all of them to a single primary website. This ensures that potential visitors reach your site regardless of which domain they enter.
  • Rebranding: If you want to change your business's name or brand, domain redirects can be used to guide users from the old site domain to the new one, maintaining traffic and SEO value.
  • Simplifying URLs: For marketing purposes, a long and complex URL can be redirected to a shorter, more memorable one. This is especially handy for print ads or social media.
  • Tracking and Analytics: Redirects can be used to track the effectiveness of marketing campaigns by directing users through URLs that log visits before forwarding them to the final page.
  • Maintaining SEO: Properly implemented redirects can help preserve search engine rankings by directing search engines from an old page to a relevant new page. This transfers the SEO history and link equity to the new one.

How to Redirect a Domain in cPanel

  1. Log in to your Bluehost Account Manager.
  2. Once logged in, find and click the Hosting tab on the left side of your account.
    • If you have multiple hosting packages, click MANAGE for the package you want to manage.
    • You will be automatically taken to your hosting page if you only have one hosting account.
  3. Click the CPANEL option under Quick Links.
    Note: Alternatively, you can access the Redirects page in cPanel by clicking on the SETTINGS button for the site you want to redirect. Go to the ADVANCED tab, then click the MANAGE button within the Redirects tile. 
    CPANEL button under Quick Links
  4. Scroll down to the Domains section and click on the Redirects option.
    Redirects option under Domains section
  5. Below are the types of redirects in cPanel you can choose from:
    • Permanent 301 redirect - This type of redirect will direct search engines to the new site and update the visitor's bookmarks.
    • Temporary 302 redirect - In this type of redirect, the search engine will still index the original page and reroute users and search engines, but it won't update the bookmark.
      Redirect type drop-down, domain selection drop-down, and field to enter where to redirect to
  6. Choose a domain from the drop-down menu, or select **All Public Domains** to redirect all your domains managed in cPanel.
  7. On the empty text box below it, type in the rest of the URL from which you want the server to redirect site visitors.

    For example: To redirect http://example.com/file.html to a different URL, enter directory.file.html in the box.
  8. Next, enter the URL you wish to redirect users to in the Redirects to box. Make sure to specify the protocol (http://, https://, or ftp://).
  9. Choose from the settings below by clicking on the radio button:
    • Only redirect with www. - Redirects site visitors who type the www. prefix before the domain name.
    • Redirect with or without www. - Redirects all users, regardless of whether they enter the www. prefix before the domain name.
    • Do Not Redirect www. - Does not redirect users who type the www. prefix before the the domain name.
      Note: The cPanel interface will disable these settings if you choose **All Public Domains.**
  10. Tick the Wild Card Redirect box to redirect all files within a directory to the new directory with the same filename.

    For example: If you enable this setting, example1.com redirects to example.com, a site visitor who accesses http://example1.com/pic.png will be redirected to http://example.com/pic.png.
  11. Click the Add button.
  12. Test the redirect by going to the Currents Redirects table, then clicking the link below Directory. You will be taken to your original domain if the redirect is successful.

Summary

Learn how to use cPanel redirects to redirect website visitors from one domain or webpage to another. Redirecting a domain in cPanel can be helpful if you want to temporarily shut down a website or point users to another website address. Know more about the different types of redirects available in cPanel and the steps to follow to set up a redirect. Also, remember to test your redirect to see if it was set up correctly; it is important to avoid 404 errors.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Did you find this article helpful?

 
* Your feedback is too short

Loading...