How do I set up subdomains?
21 viewsHow do I set up subdomains?
Overview
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
- You can access this via your client portal or:
- Go to: Account Manager → Subdomain Management
- Click Create Subdomain
- Enter your desired subdomain name
- Example:
blog,shop,support
- Example:
- 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.htmlor 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.