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 domain.com to AnotherDomain.com. You can also redirect specific pages, such as domain.com/info.html to AnotherDomain.com/anotherPage.html

 

redirect1

First, log into your cPanel and click on the "Redirects" button under the "Domains" sub-header:

 

redirect2

Generally, any redirects will be Permanent (which is the default).  In the drop down choose the domain you want to forward, and then in the redirects to--> box put what domain you want the traffic redirected to.  Once you are done, click on "Add":

 

Redirecting Options

When redirecting a domain, there are several options you can configure.

www redirection

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.

Wild Card Redirect

If you plan on redirecting all pages within domain.com to NewDomain.com, 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/.

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?

Comments

2012-08-20 1:42 pm
i already hosted my website but i want to redirect it to my vps. how to configure my email?
Staff
13,314 Points
2012-08-20 2:19 pm
Hello Dani st,

You're asking a question that basically needs some specifics before we can provide answers. If you're trying configure your email to go to another server, you will need to use MX records in order to point the account to your server. This cannot be done by us if we do not have control of your domain. This can be done by at whoever is controlling your domain name. To determine that, simply look at the nameservers for you domain. If they are going to Web Hosting Hub (e.g. ns1.webhostinghub.com), then we control them. I can't tell if we control them based in the info you have given me. Your support center account is not linked to a hosting account. Hopefully, the general information I have provided will give you the information needed to make the change. If you us to make the changes for you, submit a support ticket to support@webhostinghub.com so that live support can resolve it for you. This will keep your account information private.

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.

Regards,

Arnel C.
n/a Points
2014-07-24 11:49 pm

Hi There,

I currently have a domain name **removed by request** that is currently host by webhostinghub. Please note that for some reason I could not build the free website that was provided to me and hence I have got a website created under **removed by request**

I would like to forward my domain to the URL above. Could you assist me with this?

Besides the URL, what other information do you need from me in order to redirect to the new address?

Will my website address still be **removed by request** after I re-direct? I want to ensure that my clients still look me up under **removed by request** instead of the URL address given above.

Please advise how do I get this done. Thanks.

 

Regards,

Linda

Staff
9,105 Points
2014-07-25 10:30 am
Hello Linda,

Thank you for your question. Sorry to hear you weren't able to get your site up with us. Keep in mind we have many other options for building a site in Softaculous.

If you want to host elsewhere (and use your domain) you will have to point your DNS to them.

Since there are several way to do this, I recommend asking your new company their preferred method. I tried to look through their website for a guide, but could not locate one.

For example, you could point your Nameservers to them if they can host your DNS.

Alternately, we can host your DNS and point an "A record" to their IP address.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
n/a Points
2014-07-27 8:02 pm

Hi John,

Thanks for the reply. Please pardon me for my ignorance in this. I have very little or no knowledge about things like this and therefore I appreciate if you could explain to me in a layman term.

Please note that the company you've checked out is not a web hosting company. They are the principal company that I deal with that has this generic website that was set up for their members to use. What they did was create a new URL for each individual members that wish to use that website and upload the members logo and contact details to make it look like their own.

As mentioned earlier, what I would like to achieve is when people search for my domain address, it will then be re-directed to the URL given above. That's all I wanted and I hope you understand what I mean.

Could you help me to do that? Also, is there any way you could erase the domain address and URL so it doesn't show in the comments?

Thanks.

Staff
12,852 Points
2014-07-28 7:56 am
Hello Linda,

As the company you are directing to does sounds like it will not have the server setup to handle an IP redirection, you will be best off by following the instructions above to redirect your site.

Please be aware, however, that even though the visitor will type your domain name into the browser, once it redirects, the URL in the address bar will switch to the one of the site that actually has your page.

I am interested in trying to understand why the builder did not work out for you. Was there a technical issue that kept happening? Do you still wish to have your site here and hosted so that the domain name will be exclusive to your site and not some redirect?

Kindest Regards,
Scott M
n/a Points
2014-09-16 8:12 pm

Hello,

how to link my business facebook page to my website via cpanel ??

Staff
13,314 Points
2014-09-16 9:04 pm
Hello Joseph,

Thanks for the question. You first have to go to your business page in Facebook, then copy the link in the browser address bar. For example, you may see something like: http://facebook.com/businessname .

Copy that name, then use the cPanel File manager in order to find the pages of your website. Look for the page where you want to place the link. If you are unfamiliar with the editing code, then you may want to review the article on using the cPanel. Also, if your using an application to building your website, like WordPress, then you should consider using a plugin.

I hope that helps to provide you an answer! Please let us know if you have any further questions or comments.

Regards,
Arnel C.

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.