Create a Subdomain in DirectAdmin

A subdomain is a division of your website, identified by a prefix added to the domain name. Subdomains have their own web address like ‘subdomain.domain.com’.

You can use subdomains to create subsites, particularly forums or wikis that require their own script installations. In this guide, we’ll explain how to add a subdomain in DirectAdmin.

Note: You’ll need to add every domain and subdomain to the SSL certificate separately. For instructions on setting up an SSL certificate from Let’s Encrypt, please see our support guide.

  1. Log into DirectAdmin.
  2. Navigate to the appropriate user account, then select the root domain from the drop-down list at the top of the page.
  3. Under the Account Management menu select Subdomain Management.
  4. Click “Add Subdomain”.
  5. Next, enter the subdomain you wish to create.
  6. Finally, click “Add Subdomain”.

Now you can add files to the subdomain site in the ‘…/domain.com/public_html/subdomain’ directory