A subdomain is a name in front of your domain, such as blog.yourdomain.com or shop.yourdomain.com.
DirectAdmin hosting: create it under Subdomain Management. It gets its own folder. Container Hosting: add it in the Domains tab. It shows the same site as your main domain. Free SSL is added automatically once DNS points to your hosting.
1. DirectAdmin hosting
- Log in to DirectAdminand open Subdomain Management.
- Enter the subdomain name(for example
blog) and click Create. - Upload the subdomain's siteinto the folder DirectAdmin creates for it.
2. Container Hosting
- Open your containerin the client area and go to the Domains tab.
- Choose Add Domainand enter the full name, for example
blog.yourdomain.com. - Point its DNS.Add an
Arecord forblogwith the IP address shown on that page. - Check the badges.The tab shows whether DNS points here and whether HTTPS is in place.
On Container Hosting, all domains and subdomains serve the same files from public_html. A subdomain gives your existing site another address. It does not create a separate site in its own folder. Your plan sets how many domains can point to your site. For a genuinely separate site, use a second container.
3. DNS
| Type | Name | Value |
|---|---|---|
| A | blog | your hosting IP address |
If your domain's DNS is managed elsewhere (for example Cloudflare), add the record there. See Managing DNS Records.
4. SSL
Free SSL is issued automatically for each subdomain once its DNS points to your hosting. There is nothing to buy.
Do subdomains cost extra?
No. They count towards your plan's domain or subdomain allowance.
Why is HTTPS not working on my new subdomain?
The certificate is issued only after DNS points to your hosting. Check the A record, wait a few minutes, then try again.