• Wednesday, February 25, 2026

Knowledge Base

How to Create a Subdomain in DirectAdmin

Setting Up Subdomains

Subdomains let you create separate sections of your website (e.g., blog.example.com).

Creating a Subdomain

  1. Log into DirectAdmin
  2. Click Subdomain Management
  3. Enter the subdomain name (e.g., "blog")
  4. Click Create

Where Subdomain Files Go

By default, subdomain files are located at:

domains/example.com/public_html/blog

(for subdomain blog.example.com)

Common Uses for Subdomains

  • blog.example.com - Separate blog
  • shop.example.com - E-commerce store
  • staging.example.com - Development/testing
  • members.example.com - Members area
  • support.example.com - Help desk

Installing WordPress on a Subdomain

  1. Create the subdomain
  2. Open Softaculous
  3. Select WordPress
  4. In the installation form, select your subdomain from the dropdown
  5. Complete the installation

Subdomain vs Addon Domain

  • Subdomain: part.example.com - Uses your existing domain
  • Addon Domain: newsite.com - Completely separate domain

SSL for Subdomains

Let's Encrypt automatically covers subdomains. If not, manually request a certificate including the subdomain.