Home Logged Out

Adding SubDomains in cPanel

Adding subdomains


Overview

The Sub Domain Maintenance menu allows you to add subdomains to your account. This feature is very useful as people can access subdirectories in your site through a simpler domain name than using your domain name and directory names.

 

For example: Instead of accessing http://www.domain.com/users/john/forums, they can access http://jforums.domain.com if you set up a subdomain pointing to the forums directory.

 

 

Steps

1  To access the Sub Domain Maintenance menu, click on the  icon above the wordSubdomains on the main screen of your cPanel interface.

2  Enter the prefix for the subdomain in the first blank field, and click Add.

NOTE: If the subdomain was added successfully, the following will appear (except sub.domain.com will be the prefix you are using, and your domain):

 

SubDomain Adder

The subdomain, sub.domain.com has been added.

 

3  Click on Go Back.

4  To make the subdomain work, select it from the drop box next to Setup Redirection and click on Setup Redirection.

5  Enter the URL which you wish the subdomain to display in the blank field, and click onSave.

NOTE: If the subdomain was redirected properly, the following will appear (except sub.domain.com will be your subdomain, and http://www.domain.com/test.html will be the URL you have selected your subdomain to display) :

 

SubDomain Redirection

sub.domain.com is currently being redirected to http://www.domain.com/test.html  

 

Troubleshooting

Make sure the file and directories that you have the subdomain displaying exist.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article


Powered by WHMCompleteSolution