cPanel Blog

How to Create a Subdomain in cPanel

Subdomains are domain extensions. They function independently of the main domain and can therefore be used to host additional websites. A subdomain is formatted as

Let’s say we own the domain and want to use it to host a forum and a blog for the main site. On and, we were able to find them. and can also be used to access these subdomains.

To create a subdomain, go to the cPanel subdomains section.

  • Subdomain – subdomain’s name is represented by field. Only the subdomain extension must be defined in this section.
  • Domain – The domain in which the subdomain will be generated is defined in this area.
  • Document Root – It is a subdomain’s root directory. By design, this folder is generated in public html.

This message will appear on your screen after you press Create.

If any errors or problems arise during this process, you should contact your hosting provider for assistance.

Uploading files to the Document Root of subdomain

Upload all files and scripts to the Document Root directory specified. The directory is built automatically in public html and can be easily accessed via cPanel’s File Manager section. If you use an Addon Domain to construct a subdomain, the subdomain’s Document Root will be generated in the addon domain’s root directory, for example: public html/addon domain root/subdomain root.

Deleting a subdomain

It is always possible to delete a subdomain if it is no longer necessary or if the name was entered incorrectly. The Remove button in the cPanel->Subdomains section can be used to delete a subdomain.

In summary, subdomains are a quick, cheap and efficient way to create additional sites since additional domain names are not required. They can also be used to create separate sections of your main website, such as a forum, blog, or store.

cPanel Blog

How to Create an Add-On Domain in cPanel

Additional domains stored as a subdomain of your main site are known as add-on domains. Using the Addon Domains feature in cPanel, you can easily build and manage multiple domains with a single account. Let’s get this discussion started.

Accessing Addon Domains Tool

Check for and open Addon Domains from your main dashboard.

Creating an Addon Domain

After you’ve opened the tool, you’ll need to complete the form. Here’s how each area is explained:

  • New Domain Name — You just need to type in the domain name you want to add. We’re using in this situation.
  • Subdomain — The subdomain name will be added automatically by cPanel. If you’re just going to add one domain, leave it alone. Otherwise, you’ll need to change it if you want to add two domains with the same name but separate TLDs, such as and
  • Document Root — It will also fill itself automatically. This is the location of the content for your addon domain.
  • Create an FTP Account (Optional) — You may use this method to build a new FTP account for the new addon domain. You don’t need to build a domain if you’re going to handle it yourself. You should, however, check the Create an FTP account associated with this Addon Domain box if you want to set up the addon domain for someone else. They will only be able to access the files of that particular addon domain if they have their own account.

Once you’ve filled that, click the Add Domain button.

Now that the addon domain has been successfully created, you can begin uploading the website’s files to the newly created subfolder in your cPanel account’s File Manager.

Manage the Addon Domains

The domain should appear in the Modify Addon Domain list once it’s been added. The following is the section’s description:

  • Addon Domains — Here you can see all of the domains you’ve added.
  • Document Root — that particular domain’s folder path The link will take you to the File Manager when you click it.
  • Subdomain — a name produced automatically in the form
  • Redirects to — You can use the same function as Aliases to redirect the domain to another location. It says not diverted because we aren’t doing that. If you want to do so, simply click the Manage Redirection button, which will open a new window where you can set the redirection course.
  • Actions — a way to take the addon domain off the list

You’ve now learned how to use your cPanel account to build and manage addon domains. Using the same username, you can upload files and control the backend for several domains.