DirectAdmin gives you three tools to put more names on one account: Domain Setup for completely separate websites, Subdomain Management for names like blog.example.com, and Domain Pointers to make another domain show or redirect to an existing site. This guide explains each.
Before you start
- Your package must allow more domains, subdomains or pointers.
- The domain is registered (you can register one with MdmHost) and its DNS points to the server.
Add a new domain
- Go to Account Manager → Domain Setup.
- Click Add New.
- Enter the domain name without
www. - Set bandwidth and disk limits or leave them unlimited within your package.
- Tick Secure SSL and PHP access.
- Click Create.
DirectAdmin creates domains/example.org/public_html, a DNS zone and a mail domain. Upload the site's files to that folder and issue an SSL certificate.
Create a subdomain
- Select the parent domain in the domain switcher at the top.
- Go to Account Manager → Subdomain Management.
- Click Add Subdomain, enter the prefix (for example
blog) and click Create.
The files live in domains/example.com/public_html/blog by default. DirectAdmin adds the DNS record if it manages your zone. Include the subdomain in your Let's Encrypt certificate under SSL Certificates.
Add a domain pointer
- Select the target domain at the top.
- Go to Account Manager → Domain Pointers.
- Click Add Domain Pointer and enter the other domain, for example
example.net. - Choose the type:
- Alias – the pointer shows the same website and shares email addresses (
info@example.netdelivers toinfo@example.com). - Redirect (not alias) – visitors are sent to the main domain with a redirect. Better for SEO when you own several spellings.
- Alias – the pointer shows the same website and shares email addresses (
- Click Create.
Which should you use?
| Need | Use |
|---|---|
| A separate website with its own email | Domain Setup |
| A section or app under your brand | Subdomain |
| Other TLDs or spellings of the same brand | Domain Pointer (redirect) |
| Same site and mailboxes on two domains | Domain Pointer (alias) |
After adding a name
- Check DNS:
dig +short example.orgshould return your server IP. If DirectAdmin does not host your DNS, create theArecords at your DNS provider. - Issue or reissue the Let's Encrypt certificate so it covers the new name and its
wwwvariant. - Choose a PHP version for new domains under Advanced Features → Select PHP version if your site needs a specific one.
- Create mailboxes for a new domain in E-Mail Manager → E-Mail Accounts and add its SPF record.
Troubleshooting
- "That domain already exists": it is on another account on the same server. Remove it there or ask support.
- Default page appears: files are in the wrong folder. Check the path for that domain.
- Subdomain shows the main site: DNS wildcard or caching. Wait a few minutes and check the DNS record exists.
- SSL error on pointer: reissue the certificate including the pointer's names.
