How to Point a Domain to

Pointing a domain to through Hostinger

Updated over a week ago

To point your domain to, follow the steps below 👇

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 process 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 only have a domain (not a hosting plan), you can create the redirect with the help of Cloudflare.

Step 2 – Add Your Domain to

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

Enter your domain name in the following format:


Then, save the changes. You will obtain the values for two CNAME records that you will need to add to your domain's DNS zone. Keep this tab open or copy the records to a text editor before proceeding to the next step.

Step 3 – Create CNAME Records

Access your domain's DNS zone and delete any existing A records. Then, create the following CNAME records using the previously obtained values:



Host: www

Points to: the value of the first record

TTL: use the default value, e.g., 14400

Host: host of the second record

Points to: the value of the second record

TTL: use the default value, e.g., 14400


Once you add the new DNS records, wait for propagation to complete (up to 24 hours), and your domain will start pointing to 😊

Additional Resources

Did this answer your question?