How to create a Subdomain in HestiaCP?
Last updated
Last updated
A Subdomain is a subdivision of a website, within the same domain. Subdomains are typically used to divide functions of a complex website.
For example, mydomain.com might display a main website with product offerings, while shop.mydomain.com will show the shopping cart for processing an order.
Follow these steps to create a Subdomain:
Within the hosting account where you want to add a subdomain, go to the WEB section.
Then, click on the Add Web Domain button.
Enter the subdomain you want the account to have.
Check the DNS Support option. The Mail Support checkbox will allow you to create email accounts with the new subdomain. Its activation is optional.
Finally, save the new subdomain by clicking Save.
Returning to the main account screen, in the WEB section, you will see the new subdomain.
You can edit the subdomain using the pencil icon, for example, to enable an SSL certificate.
You can also access the File Manager to upload the necessary content.
The subdomain will create a directory in the path: home/web/subdomain