How to create a sub-domain in cPanel

What is Sub Domain?

A subdomain is a domain that is part of a larger domain. It is a prefix added to the main domain name, separated by a dot (.) For example, if the main domain is “example.com”, a subdomain could be “blog.example.com” or “store.example.com”. This allows for creating separate websites or sections within a website, while still being associated with the main domain.

To create a subdomain in cPanel, follow these steps:

  1. Log in to your cPanel account.
  2. Scroll down to the “Domains” section and click on “domains.”
  3. In the “Domains” section, you need to click on “Create a New Domain” button and enter the name of the subdomain you want to create in the “Domain” field (“sub.domain.com”).
  4. In the “Document Root” field, cPanel will automatically fill in the location where the files for your subdomain will be stored in public_html. You can uncheck it if necessary.
  5. Click “Submit” to create your subdomain.

Once the subdomain is created, You can now upload your files for the subdomain on the folder specified as Document Root. And also you need to install the SSL Certificate from your cPanel Account.

Was this answer helpful? 1 Users Found This Useful (1 Votes)