Creating a subdomain
How to create a subdomain like blog.yourdomain.com with its own folder.
A subdomain is an additional name within your domain, e.g. blog.yourdomain.com or shop.yourdomain.com. Each can have its own site or application.
- Log in to cPanel and in the Domains section open Domains.
- Click Create A New Domain.
- In the Domain field enter the full name, e.g.
blog.yourdomain.com. - Untick Share document root and change the suggested folder if needed.
- Click Submit.
cPanel automatically adds the necessary DNS record if you use our nameservers. After a few minutes the subdomain should open.
Adding content#
Upload files to the subdomain's folder with File Manager or FTP, or install an application there. The site needs an index.html or index.php.
If you use someone else's nameservers#
You must also add the subdomain in DNS at that provider: create an A record for the subdomain pointing to the server IP, or a CNAME to the main domain. See Adding a DNS record.
Questo articolo ti è stato utile?
Grazie per il tuo feedback! Ti serve aiuto? Apri un ticket.
