Skip to main content
All CollectionsWebsite BuilderGeneral
How to Connect a Subdomain to Hostinger Website Builder
How to Connect a Subdomain to Hostinger Website Builder

Learn how to publish your website using a subdomain

Updated over a month ago

A domain is a unique address of a website, for example, hostinger.com. A subdomain is a subdivision of a domain that can be used to create different websites or sections within a larger website. It appears before the main domain in a URL and is separated by a period. For instance, support.hostinger.com would be a subdomain of hostinger.com.

Both domains and subdomains can be connected to a website created with Hostinger Website Builder, and there are several ways to create a subdomains, you only need to configure one of the methods below:

Disclaimer: If you'd like to keep the current nameservers and instead use IP or an A record, you may point your subdomain following the steps here.

Follow one of the methods below to create and connect a subdomain with our Builder:

Method 1: Create a Website with Subdomain Directly

This is the fastest and most efficient method to setup a subdomain with our Hostinger Website Builder, please follow the steps below:

  1. On hPanel, go to the Websites section and click on Add website:

  2. Select Hostinger Website Builder from the dropdown list as below:

  3. Select the website template as you desire, and then find the option on the top right corner, hover over "Connect Domain" and click as below:

  4. You will be redirected to a new page. There, simply write the subdomain you desire, as in the example below, and click on the message it will appear on the banner under it, then click on "Next" button:


And that's it! The subdomain will be directly connect to your website, and the needed CNAME subdomain records will be automatically added to your DNS zone 🎈

Method 2: Create a CNAME Record and Create a Website

Step 1 - Create a Subdomain as a CNAME Record:

Go to your domain's DNS zone and create a CNAME record using the following values:

  • Name: your subdomain's name; e.g., for shop.domain.tld, input shop

  • Target: connect.hostinger.com

  • TTL: use the default value

If your domain's DNS zone is at Hostinger, creating the CNAME record would look similar to this:

Creating a subdomain as a CNAME record

Step 2 - Create Your Website:

  1. On hPanel, go to the Websites section and click on Add website:

  2. Select Hostinger Website Builder from the dropdown list

  3. Create your website and go live once you're ready

Step 3 - Connect the Subdomain:

  1. Navigate to the Websites section of your hPanel and click on Connect domain:

  2. Select Use an Existing Domain:

  3. On the next page, enter your subdomain and click on Continue

After connecting your website, give your subdomain a few hours for DNS propagation to complete, and your website will be up and running 🚀

Note: Websites created using Hostinger Website Builder can only have one address at time - it's not possible to connect both a domain and a subdomain to the same website

Did this answer your question?