This site contains affiliate links — if you sign up through them we may earn a commission at no extra cost to you, without affecting our editorial neutrality. Details

Subdomain Thailand Guide

Subdomain Thailand Guide

What is Subdomain

A subdomain is a prefix segment of a domain name. If the main domain is example.com, then blog.example.com, shop.example.com, or mail.example.com are subdomains — each can point to different IP addresses or servers.

Subdomain

Subdomains have many uses: separating a blog from the main site, isolating an e-commerce store, creating staging environments for testing, API endpoints, CDN for images, mobile versions of websites, or regional sites.

Interested in AsiaGB?

Check the latest plans and promotions on the official site.

Visit AsiaGB →

Subdomain vs Subdirectory

Subdomain (blog.example.com) vs Subdirectory (example.com/blog): subdomains create separate entities that can be hosted on different servers with different CMS. Subdirectories use the same server and configuration, and are generally simpler for SEO.

Setup: DNS Subdomain

Create a subdomain by adding an A Record or CNAME Record to the domain's DNS zone. If the subdomain points to the same IP as the root domain, use an A Record with the same IP. If pointing to another domain (CDN, GitHub Pages), use a CNAME Record.

Setup: Subdomain Hosting

In cPanel or DirectAdmin, go to Subdomains section, add the subdomain name (e.g., blog) and document root (e.g., /public_html/blog). The system automatically creates the folder. Upload files to that folder and the subdomain is ready.

Subdomain SEO

Subdomains and subdirectories affect SEO differently. Google treats subdomains as separate entities — sometimes requiring rebuilding authority. Subdirectories share the root domain's authority. For blogs or SEO-driven content, subdirectories are generally preferable.

Wildcard Subdomain

Wildcard subdomain (*.example.com) accepts requests for any subdomain not explicitly defined — used for multi-tenant applications like username.example.com or customer.example.com. Requires wildcard DNS A Record and hosting support for wildcards.

Subdomain

Popular real-world subdomain examples: docs.example.com for documentation, status.example.com for status pages, app.example.com for web apps, en/th.example.com for multilingual sites, m.example.com for mobile versions.

Verdict: Subdomain

Step-by-step: 1. Add DNS Record (A or CNAME) at DNS provider 2. Wait 30 min to 24 hours for propagation 3. Configure at hosting (cPanel/DirectAdmin) 4. Request SSL certificate for subdomain 5. Test HTTPS functionality.

Frequently Asked Questions (FAQ)

Which is better for a blog, a subdomain or a subdirectory?
For a blog on an existing site, a subdirectory (example.com/blog) is recommended over a subdomain, because it shares the authority of the root domain, improving SEO faster. The exception is if you want the blog on a different platform, such as WordPress alongside Ghost, in which case use a subdomain.
Do I need to buy SSL separately for a subdomain?
It depends on the SSL type. If you buy a Wildcard SSL (*.example.com), it covers all subdomains. Free Let's Encrypt can issue an SSL per subdomain without limit; Let's Encrypt also offers Wildcard SSL, but it must be done via a DNS challenge.
Can one subdomain host multiple websites?
Not directly. A subdomain points to a single IP/server, but that server can have multiple virtual hosts per single IP via name-based virtual hosting. So a single IP can have multiple sites, but a single subdomain name can point to only one place at a time.
Does a subdomain affect email?
A subdomain doesn't affect the main email. If email uses mail.example.com as the MX record while blog.example.com is a separate record, the DNS doesn't affect each other. But if you want email on a subdomain, you must set up a separate MX record for it too.