🌐Domain Management

Creating and Managing Subdomains

By the StarDomain teamPublished 2 min read
Knowledge base article
Contents (4 sections)

A subdomain is a name in front of your domain, such as blog.yourdomain.com or shop.yourdomain.com.

Key takeaways

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

  1. Log in to DirectAdmin
    and open Subdomain Management.
  2. Enter the subdomain name
    (for example blog) and click Create.
  3. Upload the subdomain's site
    into the folder DirectAdmin creates for it.

2. Container Hosting

  1. Open your container
    in the client area and go to the Domains tab.
  2. Choose Add Domain
    and enter the full name, for example blog.yourdomain.com.
  3. Point its DNS.
    Add an A record for blog with the IP address shown on that page.
  4. Check the badges.
    The tab shows whether DNS points here and whether HTTPS is in place.
Every domain on a container shows the same site

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.

See Domains and Free HTTPS.

3. DNS

TypeNameValue
Ablogyour 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.

Was this article helpful?

Your answer helps us decide what to improve next.

Still need help? Open a support ticket and our team will reply.

Prefer an app? Add this site to your home screen.Get the app
Creating and Managing Subdomains