Create a subdomain
A subdomain is a prefix on your own domain, such as shop.example.ca or staging.example.ca. It can run a completely separate site from your main one. Subdomains don't count against your plan's site limit.
Create one
- Open Account → Hosting → your site → Websites and click Add a domain.
- Choose A subdomain.
- Type only the first part, for example
shop, and pick your domain under Subdomain of. - Leave Folder blank and we create one, or type the folder you want.
- Click Add domain.
If your domain uses Barbrick's nameservers, the DNS record is created for you. If your DNS is hosted elsewhere, add an A record for shop pointing at your hosting IP. See DNS records.
Allow up to an hour for DNS, and a little longer for the free SSL certificate.
Common uses
| Subdomain | Use |
|---|---|
shop.example.ca |
A store separate from the main site |
staging.example.ca |
A test copy. See Staging sites |
app.example.ca |
A Node.js or Python app. See Run a Node.js app |
blog.example.ca |
A WordPress blog |
Delete a subdomain
- Go to Account → Hosting → your site → Websites.
- Click Remove next to the subdomain and confirm. Its files stay where they are.
- Delete its folder in Files if you no longer need it.
Important: A subdomain inside public_html is also reachable as a folder of the main domain, such as example.ca/shop.example.ca. Put it outside public_html if that matters.
If something goes wrong
- "Server not found": DNS hasn't updated. Wait, or check the record in Account → Hosting → your site → DNS.
- Wrong site appears: the folder is wrong. Click Change folder next to the subdomain in Websites.
- Certificate warning: wait for AutoSSL, or see Why your free SSL hasn't been issued.
Still stuck? Ask us and we'll walk you through it.
