Disclosure: this post contains affiliate links. If you sign up through them, I may earn a commission at no extra cost to you.
Want to connect a Namecheap domain to Hostinger? It takes about 10 minutes of work, plus some waiting while the change spreads across the internet. I do this for clients regularly, and below is the exact process I follow, including the mistake that most often breaks people’s email.
There are two ways to do it. The nameserver method is the simplest and the one I recommend for most sites. The A record method is better if you want to keep your DNS, and especially your email settings, at Namecheap.
What you need before you start
- A domain registered at Namecheap. If you don’t have one yet, you can register a domain on Namecheap.
- A hosting plan at Hostinger. If you need one, you can get Hostinger here.
- About 10 minutes, and access to both accounts.
Method 1: Connect your domain with nameservers (recommended)
Nameservers tell the internet which company manages your domain’s settings. Switching them to Hostinger hands everything over to Hostinger in one step.
Step 1: Add the domain to your Hostinger account
Log in to Hostinger’s control panel (hPanel), go to Websites and add a new site using your Namecheap domain. This tells Hostinger which hosting space the domain should load.
Step 2: Copy Hostinger’s nameservers
For Hostinger’s web and cloud hosting plans, the nameservers are:
ns1.dns-parking.com ns2.dns-parking.com
Double-check the exact values in your hPanel, because some services can show different ones.
Step 3: Change the nameservers in Namecheap
- Sign in to your Namecheap account.
- Open Domain List from the left sidebar.
- Click Manage next to your domain.
- In the Nameservers section, choose Custom DNS from the dropdown.
- Enter
ns1.dns-parking.comandns2.dns-parking.com, one per line. - Click the green check mark to save.
Step 4: Wait for the change to spread
DNS changes are usually live within a few hours, but can take up to 24 to 48 hours worldwide. You may see your old site or a parking page during that time. That’s normal.
Step 5: Turn on SSL
Once your domain loads from Hostinger, make sure the free SSL certificate is active in hPanel so your site loads over https. On WordPress, I also turn on Force HTTPS in the Hostinger Tools plugin so every visitor gets the secure version.
Method 2: Connect your domain with an A record
Use this method if you want to keep managing DNS at Namecheap, for example because your email or other services are set up there.
- In hPanel, open the DNS Zone Editor for your site and copy the IP address from the A record.
- In Namecheap, go to Domain List, click Manage, then open the Advanced DNS tab.
- Edit or add an A record with host
@pointing to that IP address. - Make sure
wwwalso points to your site: either an A record with hostwwwand the same IP, or a CNAME record forwwwpointing to your domain. - Delete any old A records or parking records for
@andwww, then save.
This option only works while the domain uses Namecheap’s own DNS (BasicDNS or PremiumDNS).
Don’t lose your email: check this first
This is the mistake I see most often. If you use email on your domain, for example through Namecheap’s email or Google Workspace, switching nameservers moves your MX records (the settings that deliver your email) to Hostinger too. If they aren’t recreated there, your email stops arriving.
Before switching, write down your current MX, SPF and other email records from Namecheap’s Advanced DNS tab, then add the same records in Hostinger’s DNS Zone Editor. Or use the A record method, which leaves your email records untouched.
Troubleshooting
- Still seeing a parking page? Wait a few more hours, then clear your browser cache or try a private window.
- “Site can’t be reached” error? Check that the nameservers in Namecheap are spelled exactly right and that the domain is added in hPanel.
- Security warning in the browser? SSL can only be issued after the domain points to Hostinger. Give it a little time after the DNS change.
- Email stopped working? Recreate your MX records in Hostinger, as described above.
Frequently asked questions
How long does it take to connect a Namecheap domain to Hostinger?
The setup takes about 10 minutes. The change usually goes live within a few hours, but can take up to 48 hours to reach everyone.
Should I use nameservers or an A record?
Nameservers are simpler and let Hostinger manage everything. Choose an A record if your email or other services rely on DNS settings at Namecheap.
Do I need to transfer my domain to Hostinger?
No. Your domain can stay registered at Namecheap. You only change where it points.
Will my website go down during the switch?
If your new site is already set up at Hostinger, visitors simply start seeing it once DNS updates. Set up the site first, then switch the domain.
Need a hand?
Get the domain from Namecheap and hosting from Hostinger, and follow this guide. To make the site fast once it’s live, read my Hostinger WordPress speed guide, and if you’re still choosing a name, see how to choose a domain name.
Prefer to have it done for you? I connect domains, move sites and set up WordPress for clients. Tell me what you need.