Work About Team Blog Tutorials FAQ
Book a discovery call → Chat on WhatsApp

Home / Blog / Shopify / How to Connect a Hostinger Domain to Shopify (DNS Setup Guide)

ShopifyDNSHostingerDomainsStore SetupTutorial

How to Connect a Hostinger Domain to Shopify (DNS Setup Guide)

One of the most exciting milestones when launching a new Shopify store is replacing your temporary yourstore.myshopify.com URL with your branded custom domain (e.g., yourbrand.com).

Hostinger is one of the most widely used and budget-friendly domain registrars globally. However, if you have never configured Domain Name System (DNS) records before, entering the wrong IP address or CNAME record can cause frustrating “Domain Not Found” or “SSL Pending” errors.

In this guide, we walk through the exact DNS configuration required to point any Hostinger domain to Shopify cleanly in under 5 minutes.


The Two Core DNS Records Shopify Requires

To route incoming web traffic and generate free automated SSL certificates, Shopify requires two specific DNS records:

  1. A Record (Root / Apex Domain): Points your naked domain (yourbrand.com) to Shopify’s global edge load balancer IP address:

    • Host / Name: @
    • Points to / Value: 23.227.38.65
    • TTL: 300 seconds (or Default)
  2. CNAME Record (Subdomain): Points your www subdomain (www.yourbrand.com) to Shopify’s hosting endpoint:

    • Host / Name: www
    • Points to / Value: shops.myshopify.com
    • TTL: 300 seconds (or Default)

Step 1: Add Your Domain in Shopify Admin

  1. Open your Shopify Admin dashboard.
  2. Click Settings (gear icon in the bottom-left corner) → Domains.
  3. Click Connect existing domain.
  4. Enter your custom domain name (e.g., yourbrand.com) without https:// or www.
  5. Click Next.

Shopify will display the required A Record and CNAME target values. Keep this tab open.


Step 2: Configure DNS Records in Hostinger hPanel

  1. Open a new tab and log into your Hostinger Account (hpanel.hostinger.com).
  2. Under the Domains section, find your domain and click Manage.
  3. In the left navigation sidebar, click DNS / Nameservers.

A. Updating the A Record

  1. In the DNS Records table, look for an existing record with Type: A and Name: @.
  2. Click Edit (or delete it and create a new one).
  3. Set the target IP address to:
    23.227.38.65
  4. Click Update (or Save).

Important: Ensure there is only ONE A record pointing to @. If you leave an old IP address from Hostinger’s parking page or previous hosting, it will create an IP conflict and Shopify won’t verify.

B. Updating the CNAME Record

  1. In the DNS Records list, look for an existing record with Type: CNAME and Name: www.
  2. Edit the target value to point to:
    shops.myshopify.com
  3. Set TTL to 300 or 14400 and click Update.

Step 3: Verify the Connection in Shopify

  1. Switch back to your Shopify Admin → Settings → Domains tab.
  2. Click the green Verify connection button.
  3. Shopify will query the global DNS servers:
    • If configured correctly, the status changes to Connected.
    • If it displays Action Required, wait 5 to 15 minutes for worldwide DNS propagation and click verify again.

Step 4: Primary Domain & SSL Certificate Activation

Once verified:

  1. Under Primary domain, ensure yourbrand.com (or www.yourbrand.com according to your preference) is set as the primary domain with Domain redirection enabled. This routes all domain variations to one primary canonical URL.
  2. SSL Certificate Provisioning: Shopify will automatically issue a free Let’s Encrypt / Cloudflare SSL certificate. Initially, it may show “SSL Pending”. This is completely normal and typically resolves to “SSL Available” (HTTPS) within 1 to 4 hours.

Troubleshooting Common Issues

  • “SSL Pending” for more than 24 hours: Check your Hostinger DNS table for extra CAA records or duplicate A records blocking certificate issuance. Remove conflicting records and re-verify.
  • Email Stops Working: Connecting your domain to Shopify only touches your web traffic (A and CNAME records). Do not modify or delete your MX records (Google Workspace, Zoho, or Titan Mail), or your business email will go down.

Summary

Pointing Hostinger to Shopify requires only two records. Configuring them correctly ensures reliable edge routing and automatic SSL encryption from day one.

Need help migrating complex corporate domains, configuring subfolder multi-regional routing, or custom DNS setups? Book a discovery consultation with Klickspell.

Custom Shopify Engineering

Scaling a high-growth Shopify brand?
Skip fragile apps. Build custom Liquid.

We engineer custom Shopify themes, tailored sections, and high-converting store architectures for brands that refuse to compromise on design, speed, or autonomy.

Explore Custom Shopify Dev → Book Free 30-Min Call ↗

Keep Reading

Related Engineering Articles

ShopifyDomains

How to Reconnect or Transfer a Domain to a New Shopify Store

A comprehensive guide on disconnecting a custom domain from an old or dormant Shopify store and safely reconnecting it to a new store without downtime, email loss, or SSL conflicts.

5 min read Read →
ShopifyCompliance

How to Create and Update Policy Pages in Shopify (Legal & Compliance Guide)

A complete guide on generating, customizing, and linking Privacy, Refund, Terms of Service, and Shipping policies in Shopify to satisfy checkout compliance and build customer trust.

5 min read Read →

Technical Blog

Explore all 50+ engineering tutorials

All Articles ↗

Looking for custom
Shopify engineering craft?

Let's build
your store right.

Book a free 30-minute call. We'll talk through your store goals, timeline, and budget.

Free 30-min call · Discuss scope & budget

Book your free call → Chat on WhatsApp

The craft in every click.