How to create subdomain in hostinger
Last Updated 01 April 2025 by Jarvis Silva
In this tutorial we will see how to create subdomain in hostinger.
Subdomains are created on top of your domain for example: name.domain.com they can be used to organize and categorize content on your website.
Hostinger allows you to create websites on subdomains very easily so without wasting time let's create a subdomain in hostinger.
Don't Have A Hostinger Account Yet
Get 70% Discount On Web Hosting Plans + 3 months FREE
1. Go To Hostinger Subdomains Page
- First go to hostinger and login in to your hostinger panel, go inside the dashboard of the website you want to create subdomain of
- Click the domains tab in the sidebar it will list down subdomains, parked domains and redirects click subdomains.
- After clicking subdomains it will open the subdomain page where you can create subdomains, enter the name of the subdomain you want to create and click the create button.
- Now it will create a folder named your subdomain name in the public_html folder of your main domain, now you can put all your code files and they will serve the subdomain you created.
- But now if you go and check your subdomain in browser it will not work because we need to configure some dns for the newly created subdomain so let's do that.


2. Configure DNS for the subdomain
Now to do this you need to go to your domain provider and go to the dns records of the domain and add a new record with the following values:
- Type: A
- Name: your subdomain name
- Content: your website ip address
- TTL: leave default or choose the smallest value
Below is an example dns record of a test.example.com subdomain in cloudflare it is mostly same in other domain providers.

Before checking and visiting your subdomain, upload some website code files.
- Open Hostinger's File Manager → public_html → your subdomain folder → upload your website files.
- Visit your subdomain to check if it loads.
- If it doesn't work, wait up to 24 hours for DNS configuration.
- Check DNS status on Ping.eu by entering your subdomain:
- If configured, it shows ping data.
- If not, nothing appears.
if you are still facing problems then contact hostinger support they will quickly help you to tackle your issue.
So this was the short tutorial on how to setup a subdomain on hostinger.
About the author
I am Jarvis Silva, a tech enthusiast. I have 5 years of experience in website hosting and development, Now sharing all my knowledge related to web hosting and other various tech on the internet through Hostwizly.
Free Wordpress Website Setup
We will setup your wordpress website for free and get you started on your online journey.
Claim