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) orstore.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
- Go to Hostinger
- Click on Login & enter your credentials
- Go to hPanel (Hostingerβs control panel)
2οΈβ£ Create a Subdomain in Hostinger
πΉ Steps to Create a Subdomain
- In hPanel, go to Domains β Subdomains
- Click Create a New Subdomain
- Enter your subdomain name (Example:
blog.example.com
) - Select your Main Domain from the dropdown
- 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
- Go to hPanel β Websites
- Click on Auto Installer
- Select WordPress
- Choose the subdomain you just created (
blog.example.com
) - Enter:
- Administrator Email (for login)
- Username & Password (to access WordPress)
- Website Title (Example: “My Blog”)
- 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
- Open your browser and go to:
πblog.example.com/wp-admin
- Enter the username & password you set during installation
- Click Login to access the WordPress Dashboard
5οΈβ£ Customize & Set Up Your Subdomain Website
πΉ Install a WordPress Theme
- Go to Appearance β Themes
- Click Add New & choose a theme
- Click Install β Activate
πΉ Install Essential Plugins
- Go to Plugins β Add New
- 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
- Go to hPanel β SSL
- Activate SSL Certificate for your subdomain
- 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! ππ₯