Adding SubDomains in cPanel

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.yourdomain.com/users/john/forums, they can access http://jforums.yourdomain.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 word Subdomains 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 on Save.

NOTE: If the subdomain was redirected properly, the following will appear (except sub.domain.com will be your subdomain, and http://www.yourdomain.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.yourdomain.com/test.html  

Troubleshooting

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

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How Do I Renew My Domain?

Alright, so you probably recieved an e-mail from us telling you to renew your domain, if not, no...

What is a Top-Level-Domain? (TLD)

TLD stands for Top Level Domain. This includes any domain names which suffix is .com, .net, .org,...

What is a parked domain?

A parked domain name is an additional domain name that leads to the same place as the main...

What is an addon domain?

Addon domains give you the ability to add a second site to your web space. Unlike a parked...

How do I register my nameservers?

Each registrar is different but they should all provide an area to change your nameservers from...

Powered by WHMCompleteSolution