A subdomain is like a branch of your main domain—for example, blog.yourdomain.com or shop.yourdomain.com. Each subdomain can serve different content from a separate folder on your account. Here's how to set one up.
Steps to Create a Subdomain
- Log in to your cPanel account.
- In the Domains section, click the Subdomains icon.
- Click the Create a New Subdomain button.
- Enter the subdomain name in the text field (e.g., if you want
blog.yourdomain.com, type justblog).
- Select your main domain from the dropdown menu.
- Set the Document Root — this is the folder where the subdomain's files will live. The default suggestion is usually fine; you can accept it or customize the path (e.g.,
public_html/blog).
- Click Create to complete the setup.
Tips & Notes
- Propagation: It can take up to 24 hours (usually much faster) for the subdomain to be fully live across the internet.
- File uploads: Once created, you can upload files to the subdomain's Document Root folder via FTP or your file manager.
- Multiple subdomains: You can create as many subdomains as you need for your account.
- Removing a subdomain: To delete a subdomain later, return to the Subdomains page and click Remove next to the subdomain you want to delete.
After creation, test your subdomain by visiting subdomain.yourdomain.com in your browser to confirm it's pointing to the correct folder.