How to create a subdomain depends on where your DNS is managed, but the DirectAdmin part takes only a few minutes. This guide shows you how to create blog.example.com, connect it correctly, and install WordPress without accidentally putting the site in the wrong folder.
A subdomain is a separate hostname placed before your main domain. For example, blog.example.com, shop.example.com, and staging.example.com are subdomains of example.com.
You can use a subdomain for a distinct part of a website:
blog.example.com for a blog or publicationshop.example.com for a separate shop applicationstaging.example.com for a private test copylearn.example.com for courses or documentationCreating the hostname does not automatically create the website content. DirectAdmin creates the hosting entry and its document location; you still need to upload files or install an application such as WordPress.
A subfolder looks like example.com/blog, while a subdomain looks like blog.example.com. Both can work, so choose based on how you want to organise and manage the site.
Google says it has no ranking preference between subdomains and subfolders. The practical difference is that a subdomain behaves like a separate hostname: you may need separate site settings, analytics configuration, redirects, and Search Console checks. A subfolder is usually simpler when the blog is just another section of the same website.
Use a subdomain when the section has a different application, team, login system, or deployment process. Use a subfolder when you want one WordPress site and one shared content structure.
For more detail, see Google’s official guidance on subdomains and subfolders.
Have these details ready:
blog or staging.Do not type https:// into a subdomain field. In most DirectAdmin screens, you enter only the label, such as blog; the panel combines it with the selected domain.
Why: You must work at the user level, where DirectAdmin lets hosting customers manage domains, subdomains, DNS records, files, and databases.
The DirectAdmin documentation confirms that subdomain and DNS management are user-level tasks. If you can log in but cannot see domain controls, you may be at the wrong account level or your hosting package may not have the required access.
Why: This creates the web-hosting entry and gives the subdomain a location for its files.
blog.example.com, enter blog.example.com, if DirectAdmin asks you to choose one.Success looks like a new row for blog.example.com in the subdomain list. Note the document root shown by your panel; you will use that location when uploading files. Do not assume that a path from another host or another DirectAdmin skin is the same on your account.
The DirectAdmin documentation also recommends checking that an A record exists when a newly created subdomain does not resolve. The next step explains when you need to add that record yourself.
Why: A subdomain can exist in DirectAdmin but remain unreachable if the public DNS zone does not contain a record for it.
There are two common setups.
If your domain uses the hosting nameservers, DirectAdmin can normally write the DNS entry for the subdomain. HostKarle’s nameservers are:
ns1.fastnsdns.com
ns2.fastnsdns.com In this setup, open Account Manager → DNS Management and look for the new blog record under the parent domain. The exact record display can vary by DirectAdmin skin, but the hostname should correspond to blog.example.com and point to the hosting service.
If the domain still uses a registrar, DNS service, or another provider’s nameservers, add the record at that provider instead. Creating the subdomain in DirectAdmin does not edit an external DNS zone.
Add an A record with values similar to these:
| Field | Value |
|---|---|
| Type | A |
| Name / Host | blog |
| Value / Points to | The hosting IP shown in your hosting account or welcome details |
| TTL | The provider’s default value is usually fine |
Use the hosting IP supplied for your own account. Never copy an IP from a tutorial or from another customer. If the external DNS provider asks for a fully qualified name instead of a label, enter blog.example.com.
If you want to point the whole domain to HostKarle, follow the steps in how to point a domain to hosting. If you only need this one subdomain to use the hosting account, add the specific record above and leave the rest of your DNS arrangement unchanged.
Why: DNS caches can make a correct record appear unavailable for a while, so test both the record and the website.
dig +short blog.example.com On Windows, use:
nslookup blog.example.com http://blog.example.com in a private browser window.https://blog.example.com as well.Success means the hostname resolves to the correct hosting account and the browser reaches the subdomain. A blank directory listing, default page, or “no index” message can still be normal at this stage: it means the hostname works but no site files have been installed yet.
On HostKarle, the shared hosting plans include free auto-renewing Let’s Encrypt SSL. Allow the subdomain to resolve first, then check HTTPS and the SSL status in your panel if the certificate is not active immediately.
Why: The subdomain needs an application or website files before visitors can see useful content.
https:// after SSL is ready.blog.example.com.blog.example.com.If you enter wp in In Directory, the site will be at blog.example.com/wp instead of the subdomain root. For a new blog, that is usually not what you want.
For the full application setup, see how to install WordPress in DirectAdmin with Softaculous.
Use File Manager or FTP to upload the application into the document root shown in Step 2. If the application needs a database, create it in Account Manager → MySQL Management, then use the database, username, host, and password in the application’s configuration screen.
Do not upload a second copy into the parent domain’s public_html directory unless that is the document root displayed for the subdomain. The document-root value in your account is the source of truth.
Run this short check before sharing the URL:
dig +short blog.example.com or nslookup blog.example.com returns the correct hosting IP.If the subdomain is a staging site, protect it with the application’s own login or another access-control method before putting unfinished content online. Do not rely on an obscure URL as security.
Check the DNS provider first. If the domain uses external nameservers, confirm that the A record exists there and that its value is your hosting IP. DirectAdmin’s official troubleshooting guide specifically calls out a missing subdomain A record as a common cause.
The hostname may point to the wrong IP, or the subdomain may not have been created under the intended parent domain. Recheck the A record, the selected domain in Subdomain Management, and the document root.
In Softaculous, review Choose Installation URL and remove any value in In Directory when the site should live at the root. Also check WordPress Site Address and WordPress Address after installation.
First confirm that the subdomain resolves correctly over HTTP. SSL issuance cannot validate a hostname that still points somewhere else. After DNS is correct, check the SSL or Let’s Encrypt area in DirectAdmin and allow time for the certificate to be issued.
Search the DirectAdmin interface for “subdomain” and confirm that you are at User level. Menu names vary between skins and versions. If the feature is not available, check the plan’s domain limits or ask your hosting provider to confirm the account permissions.
A subdomain separates a part of your online presence from the main domain, such as blog.example.com or shop.example.com. It is useful when that section uses a different application, team, or deployment process.
Log in at User level, open Account Manager → Subdomain Management, choose Add Subdomain, enter the label, select the parent domain, and save. Then check DNS and upload files or install WordPress in the document root shown by DirectAdmin.
No. It creates the hostname and hosting location, but you must upload website files or install an application. You also need a public DNS record if your domain’s DNS is managed outside the hosting account.
Neither is automatically better. Google says it has no preference between subdomains and subfolders for crawling, indexing, and ranking, so choose the structure that is easiest to organise and maintain.
Yes. Create the subdomain first, wait for DNS to resolve, then install WordPress with Softaculous and select the subdomain. Keep In Directory empty when WordPress should load directly from blog.example.com.
Compare zoho mail alternatives for Indian businesses by rupee cost, IMAP access and mailbox limits,…
Compare Wix alternatives for Indian small businesses: see 3-year rupee costs, WordPress hosting, migration limits,…
Titan email price in India explained with mailbox costs, features, team totals and a comparison…
HostKarle vs Bluehost compares Indian shared hosting prices, renewal bills, email, SSL, backups, panels and…
Learn how to write blog in hindi with WordPress, Hindi typing tools, domain and hosting…
Compare Google Workspace alternatives in India by yearly rupee cost, email features and migration effort…
This website uses cookies.