How do I set up subdomains?
72 ViewsOverview
A subdomain is a prefix added to your main domain (for example: blog.yourdomain.com or shop.yourdomain.com). Subdomains are useful for separating different parts of your website, such as blogs, stores, or test environments.
Step-by-Step Guide (DirectAdmin)
- Log in to your DirectAdmin control panel
- You can access this via your client portal or: `yourdomain.com:2222`
- Go to: Account Manager → Subdomain Management
- Click Create Subdomain
- Enter your desired subdomain name
- Example: `blog`, `shop`, `support`
- Select your main domain from the dropdown
- Click Create
What happens next?
- Your subdomain will be created instantly
- A folder is automatically generated in your hosting account
- You can upload files into the subdomain directory (if needed)
- It may take a few minutes to become fully accessible
Example structure
- Main site: yourdomain.com
- Subdomain: blog.yourdomain.com
- Subdomain folder: /public_html/blog
Optional: Adding content to your subdomain
To build a website on your subdomain:
- Go to File Manager
- Open the subdomain folder
- Upload your website files (e.g. `index.html` or WordPress install)
Important Notes
- Subdomains do not require a separate domain purchase
- DNS updates are usually automatic when created in DirectAdmin
- If your domain is not pointing correctly, the subdomain may not load
Common Issues & Fixes
Subdomain not working
- Check your domain is pointing to our nameservers
- Wait a few minutes for DNS to update
Seeing default page
- Ensure you uploaded files into the correct subdomain folder
- Remove any default index file if necessary
Need Help?
If you need assistance creating or configuring a subdomain, our support team will be happy to help.
Related Guides
- https://websitehosts.uk/blog/subdomain-vs-domain-vs-subdirectory
- https://websitehosts.uk/blog/what-are-nameservers
- https://websitehosts.uk/blog/what-is-dns
- https://websitehosts.uk/blog/how-long-does-dns-propagation-take