← Back to Hosting Management

Setting Up Subdomains

Subdomains let you create separate sections of your website under your main domain β€” for example, blog.yourdomain.com, shop.yourdomain.com, or dev.yourdomain.com.

Creating a Subdomain in cPanel

Go to Domains > Subdomains. In the Subdomain field, enter the prefix (e.g., blog). Select your main domain from the dropdown. The Document Root field will be auto-filled β€” you can change this if needed. Click Create.

Uploading Files to Your Subdomain

After creation, the subdomain has its own document root directory (e.g., public_html/blog). Upload your subdomain's files to this directory using File Manager or FTP.

SSL for Subdomains

Free SSL (Let's Encrypt) is provisioned automatically for new subdomains. Within a few minutes of creation, your subdomain should be accessible via https://.

Note: If the SSL takes longer than 10 minutes to appear, go to Security > SSL/TLS Status in cPanel and run the AutoSSL check.

Was this article helpful?

On This Page