BuycPanel Blog

BuycPanel Blog

Latest news and updates

Managing Subdomain Redirection

Posted by Jamison on 15 05 2015.

By default, web subdomains are programmed to point to the root folder of a web hosting account. However, most web hosts nowadays already offer the option to redirect subdomains to another existing domain, even if it’s not part of the parent account. Rather than directing your site visitors a very long, hard to recall URL, you can publish a much simpler web address through subdomain redirection. For example, you can point people visiting www.subdomain.domain.com to www.mybusiness.com – both of which land on the same page.

 

Subdomain redirection also allows you to point your visitors to another subdirectory of your website apart from the homepage. You can use it to forward visits directly to your products page, information or contact page.

 

Another good thing is you can use this feature to personalize parts of your site for a specific person such as a colleague, friend or family member. For instance, your friend Mike…

By default, web subdomains are programmed to point to the root folder of a web hosting account. However, most web hosts nowadays already offer the option to redirect subdomains to another existing domain, even if it’s not part of the parent account. Rather than directing your site visitors a very long, hard to recall URL, you can publish a much simpler web address through subdomain redirection. For example, you can point people visiting www.subdomain.domain.com to www.mybusiness.com – both of which land on the same page.

 

Subdomain redirection also allows you to point your visitors to another subdirectory of your website apart from the homepage. You can use it to forward visits directly to your products page, information or contact page.

 

Another good thing is you can use this feature to personalize parts of your site for a specific person such as a colleague, friend or family member. For instance, your friend Mike contributes contents to your website which are aggregated in a subdirectory called www.mike.mybusiness.com. For easier reference, you can create a subdomain called www.mybusiness.com/mike linking to that URL.

 

Activating subdomain redirection is an easy process, but in order to do it, you first have to check your DNS settings if it’s part of your web hosting plan. Once done, follow these simple steps:

 

  1. Locate the Domain Redirection section in your DNS Service Data page. It’s usually found at the bottom of the page, so make sure to scroll down.

 

  1. Under it, look for the Subdomain Redirection section. Enter the nominated domain name in the Subdomain text box.

 

  1. In the Redirect URL text box, specify the URL you would like to divert your visitors when they access your Subdomain.

 

  1. Select the redirect type you would like to use. The 301 Redirect sets permanent redirection using a “301 Moved Permanently” HTTP response code. This informs site visitors, including search engines, that the address has been moved permanently. Meanwhile, the 302 response code informs users that address has been temporarily moved.

 

  1. Repeat these steps for every subdomain you would like to add. After everything has been added, click on the Update Domain Redirection button. You can make changes in your records anytime by clicking the Edit or Delete button.

2redirect

Masking Subdomain Redirection

 

For a seamless transition, it is also advisable to mask redirection to your subdomain. Masking prevents your site visitors from seeing the redirection by retaining your domain name in a web browser’s address bar. This also lets you input Meta tags for your website title, description and keyword fields for search engine optimization purposes.

 

To forward a mask, first login to your Account Manager to check if your domain uses an SSL certificate or requires the https:// prefix as masking is not allowed for sites like this. When your redirect details have been added, go to your redirection settings, and select Redirect with Masking. You then have to update your nameservers to save the changes by checking the box next to Update my DNS setting to support this change.