How to create a subdomain Print

  • 0

A subdomain is an extra address in front of your domain, like blog.yourdomain.com or shop.yourdomain.com. It can hold a completely separate website, for example a blog or a test copy of your site.

Create the subdomain

  1. In cPanel, open Domains → Domains.
  2. Click Create A New Domain.
  3. Type the full subdomain, for example blog.yourdomain.com.
  4. Untick Share document root, so the subdomain gets its own folder, for example /home/username/blog.yourdomain.com.
  5. Click Submit.

The new subdomain appears in your list of domains:

The Domains list showing the new subdomain and its document root

Add a DNS record

Because your DNS is managed at your domain provider, add a record there for the subdomain:

TypeNameValue
Ablogyour account's IP address

Once the record is live, a free SSL certificate is issued for the subdomain automatically. See Free SSL certificates: how AutoSSL works.

Add content

Upload files to the subdomain's folder, or install an app such as WordPress on it with Softaculous. Choose the subdomain in the "Choose Domain" list. See How to install WordPress with Softaculous.


Was this answer helpful?

« Back