There may be times that you need to redirect traffic from one domain to another. For example, you may need to route all traffic from example.com to example.net. You can also redirect specific pages, such as example.com/info.html to example.net/anotherPage.html. This can easily be accomplished in your cPanel. Alternately, you can edit your .htaccess file directly if you want to custom-code the redirect rules.

Redirect Domain

  1. Log into your cPanel.
  2. Click the Redirects link in the Domains section.
  3. In the Type section choose if you want to create a Permanent (301) or Temporary (302) redirect. Generally, any redirects will be Permanent (which is the default).
  4. In the next drop-down choose the domain you want to forward.
  5. If you want to redirect a specific file (such as info.html) enter it in the blank forward slash '/' field.
  6. In the Redirects to box enter the domain you want the traffic redirected to.
  7. In the "www. redirection" section choose how you want to handle 'www' redirects. The www redirection option allows you to configure how to handle redirects in regard to the www subdomain. For example, you can only apply the redirect when www is included (or when it is not), or you can apply the redirect regardless of whether the user types in www or not. We also have a full guide on Redirecting Your Domain to www or non-www URL.
  8. Choose if you want to do a Wild Card redirect. If you plan on redirecting all pages within example.com to example.net, then choose the option for a Wild Card Redirect. For example, selecting this option would redirect domain.com/page.html to NewDomain.com/page.html. Notice that everything after domain.com/ (in this example "page.html" ) was added after NewDomain.com/.
  9. Once you are done, click on "Add":

Congratulations, now you know how to create a domain redirect in cPanel!

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.