A subdomain is second website that has the same domain name, although it as different content and also a different www address. Let’s say for example that the original site is www.qwerty.com. The subdomain can be forums.qwerty.com, help.qwerty.com or even contactus.qwerty.com
How is it different from an add-on domain and a parked domain?
An add-on domain is also second website and also has its own unique content. However, this type of domain requires you to register it under a new domain name before you can start hosting it.
A parked domain is not a unique website, rather it is like an alias to the primary domain name of your first website. Using our example above www.whatisqwerty.com and www.iwantqwerty.com can both be parked domains for www.qwerty.com
Parked domains are commonly used when:
How to create a subdomain
Remember that add-on domains automatically create a corresponding subdomain that reflects the add-on domain and primary domain.
5. Click on the Document Root field, this should automatically populate with a suggested location from where the subdomain will load its content
6. Click Create to complete the creation of your new subdomain
The temporary URL for an add-on or subdomain should look like the line below, just be sure to put your actual IP address, server name, username and subfolder.
How to upload files to an add-on or subdomain
There are two ways you can do this via File Transfer Protocol
Enter the following information in a FTP client:
Host = add on domain name
User = email@example.com
Password = (your password)
Port = 21
After you have successfully connected to your ftp client, you should see a folder called cgi-bin that contains your files.
You can also use your cPanel data to transfer files.
Host = primary domain name
User = cPanel username
Password = cPanel password
Port = 21
After you do this it should show up in your home directory. Just double click the public_html folder and the add-on domain folder.
How to redirect a subdomain to another page
If visitors go to the subdomain, they should now be redirected to the page you specified.