Add a subdomain to your existing domain in DirectAdmin.
Steps
-
Account Manager → Subdomain Management
-
Click Add Subdomain
-
Enter subdomain name (e.g., "blog" for blog.yourdomain.com)
-
Click Add Subdomain
Subdomain Settings
| Setting | Default | Notes |
|---|---|---|
| Document Root | /public_html | Same as main domain |
| Private Folder | No | Creates separate folder if enabled |
| DNS | Auto-created | A record points to server IP |
Common Uses
blog.domain.com- Blog sectionshop.domain.com- Storeapp.domain.com- Web applicationdev.domain.com- Development site
After Creation
- Upload files to subdomain folder (if using private folder)
- Install SSL certificate if needed
- Wait 5-10 minutes for DNS propagation
Common Issues
Subdomain not working
- Clear browser cache
- Check DNS with:
nslookup subdomain.yourdomain.com - Verify correct folder permissions
Invalid subdomain name
- Use only letters, numbers, hyphens
- No spaces or special characters
- Cannot start with hyphen