Master How to Install WordPress on Subdomain Hostinger

Master How to Install WordPress on Subdomain Hostinger

To install WordPress on a Hostinger subdomain, create the subdomain first, add it as a separate website in hPanel, install WordPress for that site, then check DNS, SSL, and the WordPress login address. The setup usually takes a few minutes when the main domain already points to Hostinger.

This setup works well for a blog, store, staging site, forum, or separate project such as blog.example.com or shop.example.com. If you still need basic hosting terms explained, this plain hosting overview gives useful context before you begin.

What you need before installing WordPress on a subdomain

You need an active Hostinger hosting account, a domain connected to that account, and access to hPanel. You also need to decide what the subdomain will do before creating it.

  • blog.example.com can host articles separate from the main website.
  • store.example.com can run an online store with its own WordPress installation.
  • staging.example.com can hold a test copy before changes reach the live site.
  • members.example.com can host a private area or separate customer portal.

Each subdomain installation is normally treated as its own website. It has its own WordPress files, database, themes, plugins, and login area. A subdomain is not the same as adding a folder such as example.com/blog.

Check your hosting plan before creating several installations. The number of websites, storage, databases, and other account limits depends on the plan you purchased. This guide about hosting account capacity can help if you plan to run multiple sites.

If you are buying hosting for this project, the code hHostCouponHub is available for 85% off. The final discount depends on the plan and billing term chosen at checkout.

Check Hostinger Plans

Create the subdomain in Hostinger

The first job is to add the subdomain to your domain. Hostinger then knows where requests for that address should go.

  1. Sign in to your Hostinger account and open the hosting area for the domain.
  2. Open the section for domains, websites, or DNS settings in hPanel.
  3. Look for the option to create or manage a subdomain.
  4. Enter only the subdomain label, such as blog or shop.
  5. Select the main domain that should appear after that label.
  6. Save the new subdomain and wait for Hostinger to create it.

Enter blog, not the full address blog.example.com, if the form asks for a subdomain name. The final address is created from the label and the selected domain.

Hostinger may assign a document root or website folder for the subdomain. Keep the suggested location unless you have a specific reason to use another folder. A separate folder prevents the subdomain files from mixing with the main domain.

If your domain is registered elsewhere, the subdomain may need DNS records at that registrar instead. Hostinger can manage the record only when the domain's DNS is pointed to Hostinger or when the record is added in the correct DNS zone. The instructions for editing DNS records explain the general process.

Add the subdomain as a separate website

Creating the subdomain and adding a website are related, but they are not always the same action. WordPress needs a website space, database, and document root connected to that subdomain.

  1. Return to the website management area in hPanel.
  2. Choose the option to add a new website or create a site.
  3. Select WordPress as the application you want to install.
  4. Choose the existing subdomain from the domain list.
  5. Confirm that the selected address begins with the correct subdomain.
  6. Continue until Hostinger creates the website space.

Some Hostinger account layouts may combine subdomain creation and website setup in one flow. Other layouts may ask you to create the subdomain first. Follow the matching prompts shown in your account rather than creating a second domain by mistake.

Before continuing, check the address carefully. Installing WordPress on example.com instead of blog.example.com creates the site in the wrong location. If the subdomain does not appear in the domain list, wait for the creation process to finish and reload the website area.

Run the WordPress installer for the subdomain

Once the subdomain is connected to a website space, use Hostinger's WordPress installer for that specific site.

  1. Open the website's management screen in hPanel.
  2. Find the WordPress installer or application installer.
  3. Choose WordPress and start the setup.
  4. Select the subdomain as the installation address.
  5. Create an administrator email address, username, and strong password.
  6. Choose the language and other basic settings requested by the installer.
  7. Review the details and start the installation.

Use an administrator username that is not the word admin. Store the login details in a password manager. The WordPress login address will usually use the subdomain followed by /wp-admin, such as https://blog.example.com/wp-admin.

Do not install WordPress twice on the same subdomain. A second installation can create conflicting files or databases, and the site may load the wrong copy. If you already started an installation, check the website list and file location before running the installer again.

WordPress is maintained through its official project. You can review the software and current requirements on the official WordPress website.

Check DNS when the subdomain does not load

A newly created subdomain may not open at once. DNS, or the system that connects a domain name to a server, needs time to show the new record across different networks.

Start by checking that the subdomain exists in Hostinger and that the main domain uses the intended nameservers. If the domain uses another provider's nameservers, add the required subdomain record in that provider's DNS panel instead.

Common record situations include:

  • An A record points the subdomain to an IP address.
  • A CNAME record points the subdomain to another hostname.
  • Nameservers determine which provider controls the domain's DNS records.

Use one DNS method that matches your setup. Adding records at Hostinger will not change anything if another provider controls the active DNS zone.

DNS changes can take time to appear. During that period, the subdomain may work on one network and fail on another. Avoid repeatedly changing records while waiting, because each new change makes troubleshooting harder.

If you need to move DNS control to Hostinger, follow a careful nameserver change process. A nameserver change affects the whole domain, not only the new subdomain, so check email and other existing services before making it.

Turn on SSL and test the new WordPress site

After DNS points to Hostinger, test both the non-secure and secure versions of the address. The secure version begins with https:// and uses an SSL certificate to encrypt the connection.

  1. Open the SSL or security area for the subdomain in hPanel.
  2. Choose the subdomain if more than one site is listed.
  3. Follow the on-screen instructions to issue or activate the certificate.
  4. Open the HTTPS address in a private browser window.
  5. Confirm that the WordPress homepage and login page load without a browser warning.

SSL activation depends on correct DNS. If the subdomain still points somewhere else, the certificate cannot match the address. Certificate changes can also take time to become visible.

Once HTTPS works, set the WordPress site address to the HTTPS version if the installer did not do so. You can check this under the general WordPress settings. Change both the WordPress address and site address together. A mismatch can cause redirects, login problems, or missing images.

For a separate walkthrough, use this guide to turn on website encryption. Back up the site before changing address settings, especially if WordPress already contains content.

Finish the basic WordPress setup

The installation is complete when the homepage, login page, and dashboard all open at the subdomain. A few checks will prevent common problems later.

  • Delete unused themes and plugins.
  • Update WordPress, the active theme, and installed plugins.
  • Set the site title, tagline, time zone, and preferred date format.
  • Choose a readable permalink structure before publishing content.
  • Set a backup schedule that matches how often the site changes.
  • Test contact forms, menus, images, and mobile layout.

If this is a staging site, block search engines from indexing it until the site is ready. A test copy can contain duplicate content, private information, or unfinished pages. Remove that restriction before launching a public site.

For a blog or marketing site, the subdomain can now receive its own posts and pages. For an online store, test checkout, payment settings, shipping rules, and order emails before accepting real orders. A subdomain does not automatically share settings with WordPress on the main domain.

Problems that appear after installation

Most setup problems come from the wrong address, DNS control, SSL timing, or an installation placed in the wrong folder.

The subdomain shows a blank page

Check whether WordPress files exist in the document root assigned to the subdomain. A blank page can also follow a plugin or theme problem. If the site had content before the issue, make a backup before disabling anything or editing files.

The subdomain opens the main website

The subdomain may point to the main domain's folder, or the DNS record may still target the wrong server. Review the document root and active DNS records. Do not delete the main site's files while trying to correct the subdomain.

The browser reports an SSL warning

Confirm that the certificate covers the exact subdomain and that DNS has finished updating. Open the address with HTTPS after waiting for the certificate status to change. If the warning remains, review the SSL section for the subdomain and contact Hostinger support with the exact address.

WordPress redirects to the wrong domain

The WordPress and site URL settings may contain the main domain instead of the subdomain. Correct both values together, then clear browser and site caches. A hard-coded address in a plugin or theme can also cause the redirect.

Who should use a subdomain installation?

A subdomain suits a site that needs separate content, management, or branding while staying connected to the main domain. It is useful for staging, support portals, stores, language versions, and projects with different publishing teams.

A folder such as example.com/blog may fit better when the blog is part of the same main site and should share its navigation, SEO structure, and WordPress installation. Choose a subdomain when separation matters more than shared administration.

Hostinger is a practical fit for a reader who wants one account for the main site and a smaller subdomain project. It may be a poor fit if your plan lacks the needed website or resource capacity, so check the plan limits before installing several sites.

Answers to common subdomain WordPress questions

Can I install WordPress on a Hostinger subdomain?

Yes. Create the subdomain, connect it to a website space, and select that subdomain during the WordPress installation. It receives its own files, database, dashboard, and WordPress settings.

Do I need a second domain for the subdomain?

No. A subdomain uses the existing domain, such as blog.example.com. You may need another hosting website slot or enough account resources, but a separate domain is not required.

How long does the setup take?

The WordPress installation itself is often quick when the domain already points to Hostinger. DNS and SSL changes can take longer to appear, and the exact timing depends on the records and providers involved.

Can the main domain and subdomain use different WordPress installations?

Yes. The main domain and subdomain can run separate WordPress sites. Keep their folders and databases separate, and remember that updates, backups, plugins, and users may need separate management.

Why does my new subdomain show the wrong website?

The DNS record or document root is likely pointing to another site. Check which provider controls DNS, then confirm that the subdomain's website folder contains the intended WordPress files.

Is a subdomain better than a folder for WordPress?

Neither option is always better. Use a subdomain for a separate project or team, and use a folder when the content belongs inside the main site's structure.

Open the new site and complete the first login

Visit the HTTPS version of the subdomain, log in through its WordPress dashboard, and publish a test page before adding real content. Check the address, SSL lock, menus, forms, and mobile view first.

If you still need hosting, apply hHostCouponHub at checkout for 85% off. The final discount depends on the plan and billing term chosen at checkout.

Start With Hostinger

This page contains affiliate links. If you purchase through the links on this page, we may earn a commission, at no extra cost to you.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top