How to Create a Subdomain in Hostinger and Install WordPress (Step-by-Step Guide)

Creating a subdomain allows you to run a separate website under your main domain. For example:

  • Main Domain: example.com
  • Subdomain: blog.example.com (for a blog) or store.example.com (for an online shop)

This guide will show you how to:
βœ… Create a subdomain in Hostinger
βœ… Install WordPress on your subdomain
βœ… Set up & launch your subdomain website

Let’s get started! πŸš€


1️⃣ Login to Your Hostinger Account

  1. Go to Hostinger
  2. Click on Login & enter your credentials
  3. Go to hPanel (Hostinger’s control panel)

2️⃣ Create a Subdomain in Hostinger

πŸ”Ή Steps to Create a Subdomain

  1. In hPanel, go to Domains β†’ Subdomains
  2. Click Create a New Subdomain
  3. Enter your subdomain name (Example: blog.example.com)
  4. Select your Main Domain from the dropdown
  5. Click Create

βœ… Your subdomain is now created! It may take a few minutes to become active.

πŸ“Œ Pro Tip: You can create multiple subdomains for different purposes, like shop.example.com or forum.example.com.


3️⃣ Install WordPress on Your Subdomain

πŸ”Ή Steps to Install WordPress on Your Subdomain

  1. Go to hPanel β†’ Websites
  2. Click on Auto Installer
  3. Select WordPress
  4. Choose the subdomain you just created (blog.example.com)
  5. Enter:
    • Administrator Email (for login)
    • Username & Password (to access WordPress)
    • Website Title (Example: “My Blog”)
  6. Click Install and wait a few minutes

βœ… WordPress is now installed on your subdomain! πŸŽ‰

πŸ“Œ Pro Tip: Keep your WordPress login details safe to access your dashboard later.


4️⃣ Access Your Subdomain WordPress Website

πŸ”Ή How to Log into WordPress on Your Subdomain

  1. Open your browser and go to:
    πŸ‘‰ blog.example.com/wp-admin
  2. Enter the username & password you set during installation
  3. Click Login to access the WordPress Dashboard

5️⃣ Customize & Set Up Your Subdomain Website

πŸ”Ή Install a WordPress Theme

  1. Go to Appearance β†’ Themes
  2. Click Add New & choose a theme
  3. Click Install β†’ Activate

πŸ”Ή Install Essential Plugins

  1. Go to Plugins β†’ Add New
  2. Install:
    • Yoast SEO (for better Google ranking)
    • Elementor (drag-and-drop website builder)
    • WP Super Cache (to improve site speed)

πŸ”Ή Create Essential Pages

βœ… Homepage (Main welcome page)
βœ… About Us (Your blog/business info)
βœ… Contact Us (Form for visitors to reach you)

πŸ“Œ Pro Tip: Use Elementor or Gutenberg to design pages easily.


6️⃣ Secure Your Subdomain Website

πŸ”Ή Enable SSL for HTTPS

  1. Go to hPanel β†’ SSL
  2. Activate SSL Certificate for your subdomain
  3. Redirect HTTP to HTTPS for better security

βœ… Your website is now secure!


7️⃣ Launch Your Subdomain Website πŸš€

Now your WordPress subdomain site is ready! Start adding content, blog posts, or products, depending on your website type.

πŸ’‘ Your Turn: Have you created your subdomain? Let me know if you need help in the comments! πŸ‘‡πŸ”₯

Leave a Comment

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