Subdomains are a nice way to organize parts of your website and make your links look great 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.
How to create a subdomain?
To create a subdomain, open Hosting → Manage, search for Subdomains on the sidebar and click on it:
Here you can enter a name for your new subdomain, select the domain from the dropdown list as well as specify a custom directory.
In most cases, it's recommended to keep a default directory for your subdomains - unless you were instructed otherwise
Once it's good to go, click on Create and the subdomain will be created:
How to point a subdomain?
If your domain is pointed elsewhere by nameservers, and you point the domain to Hostinger by A record, you need to do one more thing in order for your subdomain to work.
Check your hosting account's IP (A record)
Access the DNS zone of the service, to which your domain is pointed by nameservers, and create a new A record:
Your subdomain's name
(f.e., for shop.domain.tld, you need to input shop)
Your hosting account's IP
Leave default (or choose the smallest available)
We gathered instructions on changing the DNS zone for the most popular providers for you, make sure to check it out or contact the service's support if you need assistance.
Any DNS record changes trigger propagation which can take up to 24 hours to fully propagate worldwide
How to check existing subdomains?
To check the existing subdomains, on the same 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?
If you wish to delete one of your subdomains, just press the Delete button in the List of Current Subdomains:
Keep in mind, that it deletes a website that was located on this subdomain. Instead, you might be interested in restoring the backup.