How to Create a Subdomain and Install WordPress on Hostinger (Step-by-Step Guide)
Whether you're setting up a staging environment, launching a separate blog, or building a new section of your website, subdomains are one of the most practical tools in a web developer's toolkit. Hostinger makes the process remarkably straightforward through its intuitive hPanel dashboard, and when paired with the built-in Auto Installer, you can have a fully functional WordPress site live on your subdomain in just a few minutes. In this guide, we'll walk you through every step — from logging into your Hostinger account to completing your WordPress installation — so you can get up and running with confidence, even if you've never created a subdomain before.
Accessing Your Hostinger hPanel Dashboard
Before anything else, you'll need to log into your Hostinger account and find your way to the hPanel dashboard. Head over to hostinger.com and sign in with your credentials. Once you're in, you'll land on the main account overview page where all of your hosting plans and domains are listed.
From here, navigate to the **Websites** section. You'll see a list of the domains and websites associated with your account. Find the website you want to connect your new subdomain to, then click the **Dashboard** button next to it. This will take you into the hPanel control panel specific to that hosting account, which is where you'll manage everything from files and databases to email and domains.
Take a moment to familiarize yourself with the left-hand sidebar — that's your primary navigation menu throughout this process. All of the tools you'll need are organized into logical categories, and we'll be jumping between a couple of them as we move through this tutorial.
Creating a Subdomain in Hostinger
With your hPanel dashboard open, look to the left sidebar and locate the **Domains** section. Click on it to expand the options, then select **Subdomains**. This will open the subdomain management page, where you can view any existing subdomains and create new ones.
To create your subdomain, you'll see an input field where you can type the name you want to use. For example, if your main domain is yourwebsite.com and you want to build a blog, you might enter "blog" to create blog.yourwebsite.com. Choose something short, descriptive, and relevant to what you plan to host there.
Just below the name field, you'll have the option to set a document root — essentially the folder where your subdomain's files will live on the server. Hostinger will suggest a default directory path based on the subdomain name you entered, and in most cases, the default is perfectly fine. If you have a specific folder structure in mind, you can customize this, but for a standard WordPress installation, leaving it as the default will work without any issues.
Once you've filled in the subdomain name and confirmed the directory, click the **Create** button. Hostinger will provision the subdomain within a few seconds, and it will appear in your list of active subdomains. Keep in mind that while the subdomain is created instantly on Hostinger's end, DNS propagation can take anywhere from a few minutes to 24 hours depending on your nameserver settings. In many cases with Hostinger-managed DNS, you'll see it resolve much faster than that.
Installing WordPress on Your New Subdomain via Auto Installer
Now that your subdomain exists, it's time to install WordPress on it. Head back to your hPanel dashboard and look in the left sidebar under the **Website** section for the **Auto Installer** option. Click on it to open Hostinger's one-click installation tool.
You'll see a selection of popular CMS platforms available for installation. Click on **WordPress** to begin the setup process. A configuration panel will appear with fields for your site name, admin username, admin email, and password — fill these out carefully, as you'll use them to log into your WordPress dashboard later.
The most important step here is selecting the correct installation URL. Look for the URL dropdown menu, typically found in the advanced settings section of the installation popup. Click on it and choose the subdomain you just created from the list of available options. This tells the Auto Installer exactly where to place your WordPress files.
After confirming all your details, click **Install**. The installation usually completes within one to two minutes. Once it's done, Hostinger will display a confirmation message along with a direct link to your new WordPress site and its admin login page — bookmark both so you have them handy going forward.
Completing the WordPress Setup and Going Live
Once WordPress finishes installing on your subdomain, Hostinger will display a confirmation screen with your login credentials and a direct link to your WordPress admin dashboard. Save these details somewhere secure — you'll need them every time you log in to manage your site.
Your first stop should be the WordPress admin panel, accessible at yoursubdomain.yourdomain.com/wp-admin. From here, walk through a few essential setup steps before considering your site live. Start by navigating to Settings > General to confirm your site title, tagline, and timezone are correct. Then head to Settings > Permalinks and choose a URL structure — "Post name" works well for most sites and is both readable and SEO-friendly. Hit save, and WordPress will automatically update your .htaccess file.
Next, consider your theme. WordPress installs with a default theme, which is functional but generic. If you have a specific theme in mind, go to Appearance > Themes > Add New and search for or upload your preferred option. Once activated, use the Customizer (Appearance > Customize) to adjust colors, fonts, and layout to match your brand.
Before publishing any content, install a few foundational plugins. An SEO plugin like Yoast SEO or Rank Math will help you optimize every page and post from the start. A security plugin such as Wordfence adds an important layer of protection, and a caching plugin like W3 Total Cache or LiteSpeed Cache (which pairs especially well with Hostinger's infrastructure) will keep your load times fast.
When you're ready to go live, simply publish your pages or posts and share your subdomain URL. Since the subdomain exists under your primary domain, no additional domain purchase is needed — it's already pointing to your hosting environment.
Troubleshooting DNS Propagation and Common Subdomain Issues
DNS propagation is one of the most common sources of confusion when setting up a subdomain. After you create the subdomain in hPanel, the change needs to spread across DNS servers worldwide, a process that typically takes anywhere from a few minutes to 24 hours, and in rare cases up to 48 hours. During this window, you might find that the subdomain loads on one device but not another, or returns a "site not found" error entirely. This is normal and not a sign that something went wrong.
To check whether propagation has completed, use a free tool like whatsmydns.net. Enter your subdomain and select the "A" record type to see which DNS servers have already updated. If most regions show your correct IP address, you're in good shape — just wait for the remaining servers to catch up.
If propagation seems stuck or the subdomain isn't resolving correctly even after 48 hours, here are the most likely culprits and how to address them.
The subdomain isn't pointing to the right IP. Go back to hPanel, navigate to DNS Zone Editor under the Domains section, and verify that an A record exists for your subdomain pointing to your hosting account's IP address. Hostinger usually creates this automatically, but it's worth confirming.
The WordPress installation path doesn't match the subdomain directory. When you installed WordPress, the installation path in the auto installer should have matched the subdomain URL exactly. If there's a mismatch, you may see a blank page or a default hosting placeholder instead of your WordPress site. Reinstalling WordPress with the correct subdomain selected in the drop-down will resolve this.
Browser cache conflicts can make it look like a problem persists after it's been fixed. Clear your browser cache or test the subdomain in an incognito window to get an accurate view of what's actually live.
SSL certificate errors are another common issue. Hostinger provides free SSL through Let's Encrypt, but the certificate isn't always generated automatically for new subdomains. Head to hPanel, find the SSL section, and manually install the certificate for your subdomain. Once applied, your site will load securely over HTTPS, which matters for both visitor trust and search engine rankings.
Conclusion
Creating a subdomain and installing WordPress on Hostinger is a straightforward process once you know where to look. By working through hPanel's subdomain and auto installer tools, you can have a fully functional WordPress site running on a subdomain in under an hour. The key is to follow each step in order — create the subdomain first, then install WordPress to that specific path — and to give DNS changes time to propagate before drawing conclusions about whether something has gone wrong. With your subdomain live and WordPress configured, you have