A subdomain is a separate section or extension of your main domain name. Subdomains allow you to organize different websites, applications, or services under one domain.
Example:
Main Domain | Subdomain |
|---|---|
Subdomains are commonly used for:
Blogs
Online stores
Client portals
Support centers
Staging websites
Web applications
A subdomain acts like an independent website but remains connected to the main domain.
Example:
blog.yourdomain.commay have completely different files from:
yourdomain.comEnsure:
Your domain is connected to hosting
You have cPanel access
DNS is properly configured
Open your cPanel login URL:
https://yourdomain.com:2083or access through:
https://my.govaio.com/loginEnter your cPanel username and password.
Depending on your cPanel version, open:
Domainsor:
SubdomainsClick:
Create A New Domainor:
Create SubdomainEnter the desired subdomain prefix.
Example:
blogSelect your main domain:
yourdomain.comResulting subdomain:
blog.yourdomain.comThe document root is the folder where subdomain files are stored.
Example:
public_html/blogEach subdomain should ideally have its own separate folder.
Click:
Submitor:
CreateYour subdomain is now created.
Open:
File ManagerNavigate to:
public_html/blogUpload:
Website files
WordPress installation
HTML/PHP applications
You can install WordPress on your subdomain using Softaculous.
Open:
Softaculous Apps InstallerSelect:
WordPressChoose subdomain from installation dropdown
Complete installation
Example WordPress subdomain:
https://blog.yourdomain.comSome hosting servers allow subdomain email addresses.
Example:
support@blog.yourdomain.comAvailability depends on server configuration.
After creating the subdomain:
Open:
SSL/TLS StatusRun:
AutoSSLSecure URL example:
https://blog.yourdomain.comSubdomain | Purpose |
|---|---|
Blog | |
Online store | |
Support portal | |
Client area | |
Development environment |
cPanel usually creates DNS records automatically.
Example:
Type | Name | Value |
|---|---|---|
A | blog | Server IP |
DNS propagation incomplete.
Wait for propagation
Verify DNS records
Missing website files.
Upload files into correct document root
SSL certificate not issued yet.
Run AutoSSL
Verify domain points to hosting
Incorrect document root or CMS configuration.
Verify folder paths
Check .htaccess rules
Example:
public_html/
├── blog/
├── shop/
├── support/Use SSL certificates
Protect admin panels with strong passwords
Keep CMS installations updated
Regularly backup websites
Remove unused subdomains
A subdomain is a separate section of your main domain.
Yes. Each subdomain can run a completely separate website.
Usually no. They use the same hosting account resources.
Yes. WordPress can be installed independently on each subdomain.
Yes. Most hosting servers support free SSL for subdomains.
If you need assistance creating subdomains, contact support: