Skip to content
Shroti Host
Domains and DNS

How to add a domain or subdomain in cPanel

Steps last checked on by the Shroti Host team

Short answer

The Domains screen in cPanel adds all three kinds of name: a separate website on another domain (an addon domain), a subdomain such as blog.yourdomain.com, and an alias that shows your main site under a second name. How many separate websites you can run depends on your plan.

Before you start

All hosting plans. The number of websites per plan is in the plan comparison. A plan with one website can still add subdomains and aliases.

Steps

  1. Step 1: In cPanel open Domains and choose Create A New Domain.

  2. Step 2: Type the name. For a subdomain, type it in full, for example blog.yourdomain.com.

  3. Step 3: For a separate website, untick the option to share the document root, and cPanel gives the name its own folder. Leave it ticked to make the name an alias of your main site.

  4. Step 4: Submit, then upload the site's files to the folder shown as its document root.

  5. Step 5: Point a new domain at us with the nameservers ns1.shrotihost.in and ns2.shrotihost.in. A subdomain of a domain that is already hosted here needs no DNS change.

How to tell it worked

The name appears in the Domains list with its document root, and opening it in a browser shows the files you uploaded to that folder.

If it did not work

  • An error about a domain limit means your plan's website count is used up. Remove a domain you no longer use, or move up a tier.
  • The new domain shows a default page: give DNS a few hours, then check that its files are in the document root listed under Domains.
  • The new name has no padlock yet: run AutoSSL for it from SSL/TLS Status.

When to contact support

For any other error, open a ticket with the domain name and the exact message.

We never ask for a password, a card number or an OTP. Do not put one in a ticket or a chat.

Shared hosting

The website count for each tier is in the comparison table.