Knowledge base
Web Hosting

Creating a subdomain

Last updated 8/1/2026 by Alfie Web Solutions

A subdomain lets you run a separate section of your site - like blog.yourdomain.com or shop.yourdomain.com - using the same hosting account.

Creating it

  1. Log in to DirectAdmin.
  2. Click Subdomain Management.
  3. Enter the name you want (e.g. "blog" for blog.yourdomain.com).
  4. Click Create.

DirectAdmin automatically sets up the DNS for the subdomain and creates a matching folder for you - no separate DNS step needed.

Where the files go

Creating a subdomain adds a new folder inside public_html, matching the subdomain name - for "blog", that's public_html/blog. Upload that subdomain's website files there using File Manager or FTP, the same way you would for your main site.

Installing a separate website/app on the subdomain

Subdomains work exactly like a normal domain for the purposes of installing software, creating a database, or adding SSL - just select the subdomain wherever a domain is asked for in those sections.

Removing a subdomain

Back in Subdomain Management, select the subdomain and click Delete. This removes the subdomain and its DNS entry - it does not automatically delete the files in its folder, so remove those separately via File Manager if you no longer need them.