A subdomain lets you run a separate section of your website under a prefix — for example shop.yourdomain.com or blog.yourdomain.com.
How to create a subdomain
- Log in to cPanel.
- In the Domains section, click Subdomains.
- In the Subdomain field, type the prefix you want (e.g.
shop). - Select your main domain from the dropdown.
- The Document Root field is filled automatically (e.g.
public_html/shop). You can change this if needed. - Click Create.
Your subdomain is ready immediately. Upload your files to the corresponding document root folder to make them accessible at the subdomain URL.