Adding a subdomain
Create an address like blog.yourdomain.com that points to its own separate section of your site.
A subdomain is an address that sits in front of your existing domain name, such as blog.yourdomain.com or shop.yourdomain.com. It's useful when you want a clearly separate section of your website (perhaps a different application or a distinct part of your business) without registering an entirely new domain name.
Steps
A subdomain is added the same way as any other domain, you simply type the full subdomain address instead of a bare domain name.
- Click Domains & SSL in the sidebar.
- Find the Add domain card.
- In the Domain name field, type the full address including the subdomain part, for example
blog.yourdomain.com. - Choose a PHP version, and tick the certificate box if you'd like HTTPS set up for it now.
- Click Add domain.
A subdomain added this way gets its own folder for website files, separate from your main domain's folder, so you can run a completely different site or application on it, for example a blog on the subdomain while your main domain runs something else entirely.
Sharing files with an existing domain instead
If you'd rather the subdomain serve exactly the same files as one of your existing domains (so both addresses show the same site from one set of files), the Add domain form offers a Document root choice once you already have at least one domain, letting you share an existing domain's files instead of starting with an empty folder. The subdomain still gets its own DNS zone and its own certificate either way. See the article on sharing one website's files across multiple domains for more on how this works and what stays separate.
No extra DNS setup usually needed
Because a subdomain like blog.yourdomain.com belongs to a domain you've already pointed to your hosting, there's usually nothing further to configure at your domain registrar, the subdomain becomes reachable automatically once it's created here.
Removing a subdomain
Find it in your domain list and click Remove beside it. By default the DNS zone is removed along with it (untick delete DNS first if you need the zone to keep answering), and its files are kept rather than deleted unless you tick delete files. Any mailboxes on that subdomain, and their mail, are deleted either way, so read the confirmation carefully before continuing.