How to create a subdomain (blog.example.com)
A subdomain is a website under one of your domains, for example blog.example.com or shop.example.com. It has its own folder, so it can run a different site than the main domain.
Steps
- Log in to the control panel (
https://your-server:2083). - Open Domains in the menu (section Domains).
- Under Subdomain, type the name in the Subdomain field, for example
blog. - In the list next to it, choose the domain it belongs to, for example
.example.com. - Document root — leave it empty to use
public_html/blog, or enter another folder relative to your home folder. - Click Create subdomain. The message Subdomain created. appears and the subdomain is listed with the type sub.
What happens next
- The folder is created and the website answers within a minute.
- An
Arecord forblogpointing to your account's IP address is added to the domain's DNS zone. If the domain uses this server's nameservers, the subdomain works without anything else. - Its free SSL certificate is requested at the next automatic check (every 3 hours). To get it at once, open SSL/TLS and click Check now next to the subdomain.
Good to know
- Subdomains can be created under your main domain and your addon domains, not under aliases or other subdomains.
- The name may contain letters, digits and hyphens (up to 63 characters).
wwwis not allowed: it already belongs to every domain. - If another website of yours already uses
public_html/blog(for exampleblog.another-site.com), the default folder becomespublic_html/blog.example.cominstead. - A subdomain does not get
www.blog.example.com. - Your plan limits the number of subdomains; the Domains page shows how many you use.
Common questions
My domain's DNS is hosted elsewhere. Will the subdomain work?
Only after you add an A record for the subdomain at your DNS provider, pointing to the same IP address as your domain.
Can I have one certificate for all subdomains?
Yes, with a wildcard certificate, if the domain uses this server's nameservers.
Can I change the folder of a subdomain later?
No. Remove the subdomain and create it again with the new folder; your files stay where they are.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to add an addon domain (host another website)
Add a second domain as its own website in your hosting account, choose its folder, and point it to the server so it gets DNS, email and a free SSL certificate.
- Domain document root explained (and how to change it)
What a domain's document root is, which folder each domain, subdomain and alias uses by default, and how to move a website to another folder.
- How to remove an addon domain, subdomain or alias
Remove an addon domain, subdomain or alias from your hosting account, and see exactly what is deleted (DNS, email, settings) and what is kept (files).
- How to get a free wildcard SSL certificate (*.example.com)
Get one free certificate for a domain and all its subdomains (*.example.com) on the SSL/TLS page, what it requires, and how to go back to normal ones.