DirectAdmin tutorials
How to Add a Domain or Subdomain in DirectAdmin
By ProWebHosting team. Published 13 September 2026. 8 min read.
To add a domain in DirectAdmin, open Account Manager, click Domain Setup, add the new domain name and save; then point that domain's nameservers or A record at your hosting account. Subdomains are created under Subdomain Management. Each domain and subdomain gets its own public_html folder, so you can host a separate website on each one.
One hosting account can serve more than one website. A freelancer can host three client sites on a single plan, and a shop can run its main site on yourbrand.pk and a booking app on app.yourbrand.pk. DirectAdmin handles both cases with two tools: Domain Setup for extra domains and Subdomain Management for subdomains.
Addon domain, subdomain or pointer: which one do you need?
An addon domain is a second, completely separate domain hosted on the same account, such as clientsite.com next to youragency.pk. It has its own folder, its own email addresses and its own SSL certificate. DirectAdmin simply calls these domains; the term addon domain comes from other panels, and we use it on our plan pages because most people know it.
A subdomain is a prefix on a domain you already host, like blog.yourbrand.pk. It gets its own folder but shares the parent domain's DNS and email. A domain pointer is different again: it makes a second domain display the same website as an existing one, which is useful when you own both the .pk and the .com version of your name.
To add a pointer, select the existing domain at the top of DirectAdmin, open the Domain Pointers page under Account Manager, and add the second name there. Pointers do not count as addon domains on our plans, since they add no separate website. The second name still needs its DNS pointed at your account, exactly like a full domain.
How many domains your plan allows
The number of extra domains and subdomains depends on the plan. The limits below are the same ones shown on our hosting plans page. Your main domain does not count towards the addon limit.
| Plan | Addon domains | Subdomains | Databases | Yearly price |
|---|---|---|---|---|
| Promotional | 0 | Ask us on WhatsApp | 5 | Rs. 8,000 |
| Advanced | 5 | 5 | 15 | Rs. 11,000 |
| Professional | 10 | 10 | 25 | Rs. 16,000 |
| Business | Unlimited | Unlimited | Unlimited | Rs. 30,000 |
Each extra WordPress site also needs its own database, so count databases as well as domains when you plan. If Domain Setup refuses to add a domain, you have reached the plan limit; upgrading to the next tier takes effect on the same account with no migration.
Bandwidth and storage are shared across every site on the account rather than split per domain. That is convenient, but it also means one busy client site can use up the allowance for all of them. Check the Site Summary / Statistics / Logs page under System Info & Files once a month so nobody is surprised at renewal.
Add a domain with Domain Setup
You need to own the domain already. ProWebHosting does not sell domains, so register it with any registrar first, then come back to DirectAdmin.
Add a domain to your account
- 1
Open Domain Setup
Log in to DirectAdmin, expand Account Manager in the left menu and click Domain Setup. The page lists every domain already on the account.
- 2
Add the new domain
Click the add button and type the domain name without www or https, for example clientsite.com.
- 3
Leave the limits on defaults
The form may show bandwidth and disk space fields for the domain. Leaving them at the defaults lets the domain share the whole plan allowance.
- 4
Save
Submit the form. DirectAdmin creates the folders, a DNS zone, and a mail.clientsite.com hostname for the new domain in a few seconds.
- 5
Check the domain selector
Once you have more than one domain, a selector appears at the top of DirectAdmin. Pick the right domain before creating email accounts, subdomains or SSL certificates.
Point the domain's DNS at your account
Adding the domain in DirectAdmin tells the server to answer for it. The domain itself still needs to send visitors to that server, and that happens at your registrar. You have two options.
The simpler option is to set the domain's nameservers at the registrar to the nameservers in your ProWebHosting welcome email. DirectAdmin then manages every record for the domain, including the mail records, through DNS Management. The second option is to keep the registrar's DNS and add an A record pointing the domain and www at your account's IP address. Use this when the domain's email is hosted elsewhere, for example on Google Workspace, and you do not want to move those records.
Changes at the registrar take anywhere from a few minutes to a day or two to reach every network. Our DirectAdmin DNS guide explains how to check propagation and what each record does.
Whichever option you pick, cover the www version too. With nameservers pointed at us, DirectAdmin creates the www record automatically; with an A record at the registrar you need a second record, or a CNAME from www to the bare domain. Email for the new domain needs an MX record pointing at mail.clientsite.com, which DirectAdmin also creates when it hosts the DNS.
Create a subdomain with Subdomain Management
Add a subdomain
- 1
Select the parent domain
Use the domain selector at the top of DirectAdmin to choose the domain the subdomain belongs to.
- 2
Open Subdomain Management
Under Account Manager, click Subdomain Management.
- 3
Enter the prefix
Type only the first part, such as blog or app. DirectAdmin adds the domain for you.
- 4
Save
The subdomain is created together with its DNS record, so it works as soon as the parent domain's DNS points at your account. No registrar changes are needed.
Subdomains are a tidy way to keep a staging copy of a site, host a web app separately from the marketing pages, or give a client a preview before their own domain is ready. Each one can have its own free SSL certificate.
Deleting a subdomain from the same page removes its DNS record and its web configuration, so move any files you want to keep first. A subdomain can also be redirected elsewhere with Site Redirection under Account Manager, which is a quick way to send shop.yourbrand.pk to a marketplace listing until the shop is built.
Where the files live: document roots
Every domain and subdomain has a document root, the folder whose contents are served when someone visits. Upload the wrong site to the wrong folder and the wrong domain shows it, so it pays to know the layout before opening File Manager.
| Address | Folder | Notes |
|---|---|---|
| yourbrand.pk | domains/yourbrand.pk/public_html | Your main website |
| clientsite.com (addon) | domains/clientsite.com/public_html | Fully separate site |
| blog.yourbrand.pk (subdomain) | domains/yourbrand.pk/public_html/blog | Default location; sits inside the parent site folder |
| Any domain, HTTPS | domains/yourbrand.pk/private_html | Usually a link to public_html so both serve the same files |
Because a subdomain folder sits inside the parent's public_html by default, keep subdomain folder names different from any folder your main site uses. If you would rather keep a subdomain's files entirely outside the parent site, ask support about changing its document root, or add it as a full domain instead. Our File Manager and FTP guide shows how to upload files into each of these locations.
Finish the setup: SSL, email and WordPress
- Issue a free certificate for the new domain or subdomain from SSL Certificates under Account Manager once its DNS points at your account.
- Create email accounts for an addon domain from E-mail Manager after selecting that domain; subdomains share the parent domain's mail.
- Install WordPress on the new domain with the app installer in your DirectAdmin account, choosing the right domain in the installer's dropdown.
- Keep an eye on total storage and databases in the DirectAdmin dashboard, since every site on the account draws from the same plan.
- Add each new domain or subdomain to Google Search Console as its own property, because search engines treat them as separate sites.
Need hosting that just works?
Hosting several client sites? Tell us how many on WhatsApp and we will point you to the plan with the right domain allowance.
Frequently asked questions
What is the difference between an addon domain and a subdomain in DirectAdmin?
An addon domain is a separate domain name hosted on the same account with its own files, email and SSL. A subdomain is a prefix on a domain you already host, such as blog.yourbrand.pk, with its own folder but sharing the parent domain's DNS and email.
Can I add a domain to the Promotional plan?
The Promotional plan hosts one domain and allows no addon domains. The Advanced plan allows 5 addon domains, Professional allows 10, and Business has no limit.
Why does my new domain show the wrong website or an error page?
Either the domain's DNS is still pointing at the old server, or the files are in the wrong folder. Check the nameservers or A record at your registrar, wait for propagation, and confirm the site files are in domains/yourdomain.com/public_html.
Do I need to change anything at my registrar for a subdomain?
No, as long as the parent domain already uses the nameservers from your welcome email. DirectAdmin adds the subdomain's DNS record automatically. If you manage DNS at the registrar instead, add an A record for the subdomain there.
Can two domains show the same website?
Yes. Add the second domain as a domain pointer instead of a full domain, and it will display the existing site. This is the usual setup for owning both the .pk and .com versions of a business name.
Related guides
DirectAdmin tutorials
DirectAdmin DNS Management: Records, Nameservers and Pointing Your Domain
9 min read
DirectAdmin tutorials
DirectAdmin File Manager and FTP: Uploading and Managing Your Website Files
8 min read
Hosting basics
Domain vs Hosting: What Each One Does and Why You Need Both
8 min read
DirectAdmin tutorials
How to Get a Free Let's Encrypt SSL Certificate in DirectAdmin
8 min read