Subdomains are a useful way to organize parts of your website and have neatly constructed links at the same time – for example, your online store can be hosted in the subdomain shop.domain.tld. Subdomains can also act as fully independent websites.
The information given below doesn't apply if the root domain is connected to Hostinger Website Builder. In this case, a subdomain should be created as a DNS record. For more information, please refer here: How to Connect a Subdomain to Hostinger Website Builder 💡
How to Create a Subdomain
To create a subdomain, go to the Websites section and click on Manage next to the website in question. Then, search for Subdomains on the left, and click on it:
In the section Create a New Subdomain, enter a name for your new subdomain and select if you want to create a custom folder (directory) for it.
It's usually recommended to keep a default directory for your subdomains 💡
Finally, click on Create:
NOTE
Currently, creating wildcard subdomains is not supported
How to Point a Subdomain
If your domain is pointed elsewhere by nameservers, you will need to point your subdomain for it to work properly. Just follow these steps:
Check your hosting's IP address (A record)
Access the DNS zone of the service to which your domain is pointed by nameservers, and create a new A record:
Host | Value | TTL |
Your subdomain's name (f.e., for shop.domain.tld, you need to input shop) | Your hosting's IP address | Leave default (or choose the smallest available) |
You can check the instructions on how to change the DNS zone for the most popular providers or contact the service's support if you need assistance.
NOTE
Any DNS record changes trigger propagation, which can take up to 24 hours to fully propagate worldwide
How to Check Existing Subdomains
On the Subdomains page, scroll down to the List of Current Subdomains. There, you will see the full list, as well as the directory where the subdomain's files are located:
How to Delete a Subdomain
Deleting a subdomain permanently deletes the website located on this subdomain, along with the associated databases and emails. For this reason, it is strongly recommended that you download the file backups and databases as well as backup your email messages before proceeding.
Once all is good to go, press the Delete button in the List of Current Subdomains: