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
- Log into DirectAdmin
- Click Subdomain Management
- Enter the subdomain name (e.g., "blog")
- 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
- Create the subdomain
- Open Softaculous
- Select WordPress
- In the installation form, select your subdomain from the dropdown
- 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.