Understanding domain types in DirectAdmin
DirectAdmin supports several types of domains and domain configurations:
- Primary domain: The main domain on your hosting account (set when the account is created)
- Subdomains: Part of your primary domain (e.g.,
shop.yourdomain.co.za,blog.yourdomain.co.za) - Addon domains: Completely separate domain names hosted on your account (e.g., adding
secondbusiness.co.zato an account that hasyourdomain.co.zaas primary) - Parked domains (Domain Pointers): Additional domains that show the same content as your primary domain
- Redirects: Domains or subdomains that automatically redirect visitors to another URL
Creating a subdomain
Subdomains are useful for organising different sections of your website (e.g., shop.yourdomain.co.za, support.yourdomain.co.za, mail.yourdomain.co.za).
Step 1: Access Subdomain Management
- Log in to DirectAdmin
- On the dashboard, find Domain Setup or Account Manager
- Click Subdomain Management or Subdomains
Step 2: Create the subdomain
- Click Create Subdomain
- Enter the subdomain name (e.g.,
shopforshop.yourdomain.co.za) - The subdomain will be created in a folder at
/domains/yourdomain.co.za/public_html/shop(or similar path) - Click Create
Step 3: Upload website files
- Go to the File Manager
- Navigate to the subdomain's folder (e.g.,
/domains/yourdomain.co.za/public_html/shop) - Upload your website files to this folder
- Visit
https://shop.yourdomain.co.zato see your subdomain
Creating an addon domain (hosting a second website)
Addon domains allow you to host multiple completely separate websites on one hosting account. For example, you can host both yourdomain.co.za and secondbusiness.co.za on the same account.
Requirements for addon domains
- The domain must be registered and active
- The domain's nameservers must point to 0724 Hosting
- Your hosting plan must support multiple addon domains (most plans allow 5-unlimited)
Step 1: Point the domain to 0724 Hosting
Before adding the domain to DirectAdmin, update its nameservers to:
ns1.0724.co.zans2.0724.co.za
You can update nameservers through your domain registrar's control panel. See our nameservers guide for details.
Step 2: Add the addon domain in DirectAdmin
- Log in to DirectAdmin
- Go to Domain Setup
- Click Domain Pointers or Addon Domains
- Enter the domain name (e.g.,
secondbusiness.co.za) - Choose whether to create a subdirectory or use a separate folder
- Click Add or Create
DirectAdmin will create a folder for the addon domain at /domains/secondbusiness.co.za/public_html.
Step 3: Upload website files
- Go to the File Manager
- Navigate to
/domains/secondbusiness.co.za/public_html - Upload your website files
- Wait for DNS propagation (up to 24 hours)
- Visit
https://secondbusiness.co.zato see your website
Creating a parked domain (domain pointer)
A parked domain (also called domain pointer or domain alias) displays the same content as your primary domain. For example, if you own both yourbusiness.co.za and yourbusiness.com, you can park yourbusiness.com to show the same website as yourbusiness.co.za.
When to use parked domains
- You own multiple domain extensions (.co.za, .com, .net) and want them all to show the same site
- You want to redirect an old domain to your new domain without changing content
- You want to protect your brand by registering similar domains
How to park a domain
- Ensure the domain's nameservers point to 0724 Hosting
- Log in to DirectAdmin
- Go to Domain Setup β Domain Pointers
- Enter the domain to park (e.g.,
yourbusiness.com) - Select Point to your primary domain
- Click Add
The parked domain will now display the same content as your primary domain.
Creating domain redirects
Redirects automatically send visitors from one domain or URL to another. This is useful when you have moved your website or want to redirect an old domain to a new one.
Step 1: Access Site Redirection
- Log in to DirectAdmin
- Go to Domain Setup
- Click Site Redirection or Redirects
Step 2: Create the redirect
- Select the domain or subdomain you want to redirect from (e.g.,
olddomain.co.za) - Enter the destination URL (e.g.,
https://newdomain.co.za) - Choose redirect type:
- 301 Permanent: For permanent moves (recommended for SEO)
- 302 Temporary: For temporary redirects
- Click Create
Visitors to the old domain will now be automatically redirected to the new URL.
Managing existing domains
View all domains
To see all domains, subdomains, and pointers on your account:
- Go to DirectAdmin dashboard
- Click Domain Setup
- You will see a list of all domains, subdomains, and domain pointers
Delete a subdomain or addon domain
- Go to Domain Setup β Subdomains (or Addon Domains)
- Find the domain you want to remove
- Click Delete or the trash icon
- Confirm the deletion
Warning: Deleting a domain also deletes its files and email accounts. Back up any important data before deleting.
Change subdomain or addon domain folder
You cannot directly change the folder for an existing subdomain. To move a domain to a different folder:
- Delete the existing subdomain/addon domain
- Create a new one with the desired folder location
- Move files to the new folder via File Manager or FTP
DNS management for domains
Each domain on your account has its own DNS records. To manage DNS:
- Go to Advanced Features β DNS Management
- Select the domain you want to manage
- You can add, edit, or delete DNS records (A, CNAME, MX, TXT, etc.)
See our DNS records guide for details on managing DNS.
Email for subdomains and addon domains
Email for subdomains
Subdomains use the same email accounts as your primary domain. You cannot create email addresses like info@shop.yourdomain.co.za for a subdomain. Email addresses are always @yourdomain.co.za.
Email for addon domains
Addon domains have their own email accounts. You can create email addresses like info@secondbusiness.co.za separately from your primary domain.
- Go to Email Manager β Email Accounts
- Select the addon domain from the dropdown
- Create email accounts as normal
SSL certificates for multiple domains
Each domain and subdomain can have its own SSL certificate. To secure a subdomain or addon domain:
- Go to SSL Certificates
- Request a Let's Encrypt certificate
- Select the domain or subdomain you want to secure
- Click Request Certificate
See our SSL certificates guide for detailed instructions.
Troubleshooting domain issues
Addon domain shows "domain already exists"
If you get this error when adding a domain:
- The domain may already be added to another hosting account on the server
- The domain may be added as a subdomain or pointer elsewhere on your account
- Contact support to remove the domain from the other account or location
Subdomain or addon domain not loading
If your domain does not load:
- Verify the domain's nameservers are set to
ns1.0724.co.zaandns2.0724.co.za - Wait for DNS propagation (can take up to 24-48 hours)
- Ensure you uploaded files to the correct folder (
/domains/domain.com/public_html) - Check that an index file exists (e.g.,
index.htmlorindex.php) - Clear your browser cache and try again
Subdomain shows 404 error
If the subdomain shows a 404 Not Found error:
- Verify files are uploaded to the correct subdomain folder
- Ensure an index file exists in the subdomain folder
- Check .htaccess for rewrite rules that may be causing issues
- Wait a few minutes for DirectAdmin to fully configure the subdomain
Domain shows the primary domain's content
If an addon domain displays your primary domain's website:
- Verify the domain was added as an addon domain, not a parked domain
- Upload separate website files to the addon domain's folder
- Clear browser cache and DNS cache
- Wait for DNS propagation to complete
Domain limits and quotas
Your hosting plan determines how many addon domains and subdomains you can create:
- Basic plans: Typically 1-5 addon domains
- Business plans: 10-25 addon domains
- Advanced plans: Unlimited addon domains
- Subdomains: Unlimited on all plans
Check your hosting plan details in the client area or contact support to confirm your domain limits.
Best practices for managing multiple domains
- Organise folder structure: Keep each domain's files in its own folder for easy management
- Use descriptive subdomain names: Choose clear subdomain names (e.g.,
shop,blog,support) - Set up SSL for all domains: Secure each domain and subdomain with Let's Encrypt SSL
- Create separate databases: Give each website its own database to avoid conflicts
- Monitor disk space: Multiple websites can quickly use disk space. Monitor usage in DirectAdmin
- Back up each domain separately: Keep separate backups for each website
- Use consistent naming: Name databases, FTP accounts, and folders consistently with each domain
Getting help with domain management
If you need assistance adding domains, configuring subdomains, troubleshooting domain issues, or migrating multiple websites to your hosting account, contact 0724 Hosting support. We can help with:
- Adding and configuring addon domains and subdomains
- Updating nameservers and DNS records
- Troubleshooting domain resolution issues
- Setting up redirects and domain pointers
- Migrating multiple websites to your account