12 Sep

How to Create a Subdomain in cPanel

cPanel has streamlined its interface, combining the Subdomain, Addon Domain, and Parked Domain options into a single menu called Domains. Subdomains are useful for directing visitors to specific sections of your website or hosting separate projects while keeping your main domain intact.

Follow the steps below to create a subdomain in your cPanel account:

Steps to Create a Subdomain:

  1. Log into your cPanel Account
    Once logged in, navigate to the Domains section and click on the Domains menu.
  2. Click the ‘Create A New Domain’ Button
    This option allows you to create a new domain or subdomain.
  3. Enter the Subdomain Name
    In the Domain text box, type in the subdomain you want to create, such as test.tetrahostbd.com. The format will be subdomain.maindomain.com.
  4. Customize the Directory for Your Subdomain
    By default, cPanel will create a directory for the subdomain inside the public_html folder.
    • Deselect the option “Share document root (/home/username/public_html) with ‘domain.tld’” if you want the subdomain to have a unique directory.
    • Specify the directory path where you want the subdomain’s files to be stored, or use the auto-generated directory.
  5. Submit Your Changes
    After entering the required information, click Submit to create your subdomain.

Important Notes:

  • The subdomain will be live within 5–10 minutes, although DNS propagation may take up to 30–40 minutes for the changes to fully take effect worldwide.

By following these steps, you can easily set up subdomains for different sections of your website or individual projects, all under the same cPanel account.