DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

Create and remove a subdomain

A subdomain is an address placed before the main domain, such as shop.example.com. It can host a separate site, application or redirect.

Create it in DirectAdmin

  1. Sign in to DirectAdmin and select the correct domain.
  2. Open Account Manager → Subdomain Management. Older layouts may call it Sub-Domains Setup.
  3. Click Add Subdomain.
  4. Enter only the label before the domain, for example shop. Do not enter https://, the full domain or www.
  5. If available, choose or check the document root.
  6. Save and note the document root shown in the list.

Do not automatically add www to a subdomain. The normal address is shop.example.com, not www.shop.example.com.

After creation

When Euroserver manages the domain's DNS, DirectAdmin normally creates the required record. With external DNS, add it at that provider. Changes often appear within minutes, but the final time depends on TTL and caches.

Remove it

  1. Back up files, database and application settings.
  2. Select the subdomain in Subdomain Management and delete it.
  3. If files must remain, do not confirm their deletion; wording differs between DirectAdmin versions.
  4. Check related DNS records, redirects, cron jobs and databases.
Back to chapter overviewContact Euroserver support