Creating a Subdomain in DirectAdmin

Back to Webhosting

Creating a Subdomain in DirectAdmin

Explains how to create a subdomain in DirectAdmin, for example blog.yourdomain.com.

A subdomain is an extra part placed before your domain name, for example blog.yourdomain.com or shop.yourdomain.com. In this article, we explain how to create one in DirectAdmin.

Creating a subdomain

  1. Log in to DirectAdmin via yourwebsite.com:2222.
  2. Navigate under Account Manager to Domain Setup, or click on your domain and choose Subdomain Management.
  3. Enter the desired prefix under Subdomain name, for example blog.
  4. Click Create.

The subdomain automatically gets its own folder, usually found under public_html/blog (or the name you chose).

Uploading files to the subdomain

  1. Upload your files via the File Manager or FTP to the subdomain's folder.
  2. Make sure there is an index.html or index.php in this folder, otherwise the subdomain won't show any content.

Note: It can take a few minutes to an hour after creation before the subdomain is reachable everywhere, this is related to DNS propagation.

Troubleshooting

  • Subdomain shows an error or empty page: check whether files are actually present in the correct folder.
  • Subdomain not reachable yet: wait some time due to DNS propagation, or check whether your domain points to the correct nameservers.

Still stuck? Feel free to reach out via Discord or create a support ticket.

Anne
Updated on: 10/15/2026
Was this article helpful?