At times, you may want to re-direct traffic from one domain to another domain. This can be done at the domain level or for specific web pages. For example, and it's web traffic can be redirected to OR can be redirected to

In this guide we will show you how to create a redirect in your cPanel.

How to Setup a Redirect

  1. Login to cPanel.
  2. Under the domains section select the Redirects icon.
  3. On the next screen, fill in the boxes as needed and click the add button.

Congratulations, now you know how to create a redirect in your cPanel! cPanel offers many more tools for domain handling, be sure to check out all the cPanel features.

Continue to the next article on Wildcard Subdomains and DNS, or if you missed our previous article, please see the Creating a Subdomain in cPanel tutorial. For more information on this course please visit Managing your Domains in cPanel.

Continued Education in Course 203: Managing your Domains in cPanel
You are viewing Section 5: Setting up a Redirect for a Domain in your cPanel
Section 4: Creating a Subdomain in cPanel
Section 6: Wildcard Subdomains and DNS
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

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

n/a Points
2014-08-25 4:40 pm

Super. It helped me/

n/a Points
2014-09-02 12:13 am

hi there, thanks for this article. i'd been struggling to permanently redirect my webiste while i dont have any knowledge or some one to teach me.


and i am afraid that i will ruin my site.


with this article i successfully permanently redirect to non www format >.<


thanks a lot



n/a Points
2014-10-09 5:38 am

Dear All !

I am facing problem when i redirect my to my new domain error 701 BH. I am unable to understand what kind of this error is. please define this if any body know about this error 701 BH.

23,972 Points
2014-10-09 8:35 am
Hello Mujahid,

I am unfamiliar with the error. I could not locate any information on it using Google. I tried to go to the domain that you said redirected but it did not work. If you could provide the full error text or give examples as to how to duplicate it, that may be helpful.

Kindest Regards,
Scott M
n/a Points
2014-10-14 3:37 am

How do  I point my sub-domain to new URL instead of redirecting it. I believe both are different things

23,972 Points
2014-10-14 7:53 am
Hello Shahed,

When you point any URL to another, it is a redirect. You would just use the same instructions as above.

Kindest Regards,
Scott M
n/a Points
2014-10-14 8:34 am

So Redirecting to URL as shown in article above,  and pointing using an A-record or CNAME are both basically the same things.  Thanks for clarifying 

n/a Points
2014-10-22 11:22 am


i've hosted my application with a subdirectory under root public_html (/public_html/myDocs/output/menu.php)

This (myDocs/output/) is matchning my development tool  i using to develop and it is easy to copy and paste the myDocs dorectory with the Filezilla i'm using.

Now i dont want the user to type to access the application,

but only

How can i do that ?

thank you for your assistance.

best regards




11,156 Points
2014-11-11 10:37 am
To handle the redirect, you would simply follow the steps in this article and enter the path that you want to redirect to in the last field.
n/a Points
2015-01-03 5:08 am


I want to redirect my website from to I did this from cPanel but it seems that it does not works. Can anoyone please help me? Here is what I have in .htaccess :

RewriteEngine on

RewriteCond %{HTTP_HOST} ^$

RewriteRule ^/?$ "http\:\/\/www\.sitename\.com\/" [R=301,L]


Best Regards,

Petru Csokany


23,972 Points
2015-01-05 12:27 pm
Hello Petru,

We have an article on how to force www for your website. This should work without issue. Once you implement the code, be sure to clear your browser cache as well.

Kindest Regards,
Scott M
n/a Points
2015-01-12 9:43 am


I have redirected link" /property/152" to "". My new links added with a extra"/en/" in the URL. 

I used control panel Redirect option to do the above. But it does not working. When I checked with my host company they said problem with.htacess file.

But if i do any modification to .htaccess file to correct redirect then some other web functionality will not work. 

Kindly help me to figure out the issue. My webmater tool is throwing lot of 404 error because of this. My old links are throwing up in google organic search result but unable to redirect the correct pages.


Raj Alva

21,536 Points
2015-01-12 10:13 am
Hello Raj,

Sorry that you're having problems with your .htaccess file. Unfortunately, since you are not using our hosting we cannot see your .htaccess file in order to troubleshoot the issue. Check out our article Setting Up a 301 Permanent Redirect via .htaccess for how the re-direct should properly appear in your .htaccess file.

Kindest regards,
Arnel C.
n/a Points
2015-02-07 7:58 am

Hi I have an unusual one, well one that no-one has written about

Old domain to new domain, (I have also used wordpress for the new domain)

My structure and url's have totally changed, so the new website is nothing like the old one.

Questions I am running into

Do I redirect just the site via a 301 redirect  or 

Do i redirect the to the and do each separate page as well?

Last question promise  :-

Do I place the 301 redirects in the old domain htaccess file or the new domains htaccess file?

23,972 Points
2015-02-09 11:09 am
Hello Juanita,

Since your structure is completely different, to redirect each page to a specific page on the new site, you would need to do each page individually.

The easiest would be to set the 301 for the domain so that they land on the front page of your new site and then they can navigate from there.

The 301 redirect should be in the htaccess of the old domain.

Kindest Regards,
Scott M
n/a Points
2015-02-10 10:15 pm

I put in a redirect for our addon domain to redirect to I told it to do the redirect whether or not the user uses a www in the url. However, the redirect only works when the user puts in the www. Is there something I'm missing? Thanks.

21,536 Points
2015-02-11 11:20 am
Hello Marty,

Sorry for the problem with the domain. When we looked at the WHOIS for the domain, we saw that it was not pointed to our name servers. This means that the DNS settings here would not apply because we do not control the domain. If you could please change the nameservers to point to our hosting service, then anything that you've done (such as re-direction) will work based on our settings.

I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.
n/a Points
2015-03-21 4:55 pm
Tell us how the domains we wish to redirect shows up in the dropdown list.
23,972 Points
2015-03-22 8:29 am
Hello Sarah,

The domains you want to redirect in the dropdown list are either the primary domain or addon domains that you have added to your account.

Kindest Regards,
Scott M

Post a Comment

Email Address:
Phone Number:

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

22 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!