How to Point a Domain to
Pointing a domain to through Hostinger
Updated over a week ago

To point your domain to, follow these steps:

Step 1 - Create a Domain Redirect

With a hosting plan at Hostinger

If you have a hosting plan at Hostinger, add the domain to your hosting plan. You can skip the onboarding and create an empty website.

Next, create an .htaccess file in the public_html folder of the domain and add the following code:

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} ^(?:www.)?(.+)$ [NC]

Make sure to save the changes.

Without a hosting plan at Hostinger

If you have a domain only, you can create the redirect using Cloudflare by following this guide: How to Redirect a Domain Without a Hosting Plan.

Step 2 - Add your Domain to

Log into your account, click on your profile picture, and select Settings. Next, click on Custom domains, and click on Add domain.

Enter your domain name in the pop-up with the following format:


And click Save. You will obtain the values for two CNAME records that you will need to add to the DNS zone of your domain. Keep this tab open or copy the records on a text editor before proceeding to the next step.

Step 3 - Create CNAME Records

Go to your domain's DNS Zone and delete any existing A records. Next, create the following CNAME records using the values previously obtained:



Host: www

Points to: the value of the first record

TTL: Default

Host: host of the second record

Points to: the value of the second record

TTL: Default


  • If you used the Cloudflare method in the first step, your DNS Zone management should be managed from there. You will need to create these CNAME records in Cloudflare

After you specify the new DNS records, wait for propagation to complete (up to 24 hours), and your domain will be pointing to 😊

Additional resources:

Did this answer your question?