Skip to content

Connect automatically with Namecheap

Switch on Namecheap's API, give our IP address access and paste the key into the dashboard.

Is your domain name at Namecheap? Then you can connect it automatically. You switch on Namecheap's API access, add our server's IP address to the allowed list and paste the key into the dashboard. Allow ten minutes.

#What you need

  • Your Namecheap username (the name you log in with).
  • Our server's IP address. You'll see it in the dashboard as soon as you choose Namecheap.
  • Your domain name uses Namecheap's DNS (Namecheap BasicDNS or PremiumDNS). That's the default.

#Step 1: switch on the API at Namecheap

  1. Log in to Namecheap. Go to namecheap.com and log in.
  2. Open the API settings. Go to Profile → Tools. Scroll to Business & Dev Tools and click Manage next to Namecheap API Access. (The menu names may be slightly different.)
  3. Switch the API on. Set the API Access switch to ON and confirm with your password.
  4. Add our IP address. Under Whitelisted IPs, click Edit, then Add IP. Give it a name, for example Switchboard, and enter the IP address shown in the dashboard. Save.
  5. Copy the API key. Next to API Key you'll see a long code. Copy it.

#Step 2: paste the key into the dashboard

  1. Open Domains. In your dashboard, go to your website and open Domains. Click Add domain and type your domain name.
  2. Choose Namecheap. Choose to connect automatically and select Namecheap.
  3. Fill in your details. Enter your Namecheap username and paste the API key. Save.
  4. Done. We check that everything works and put the right records in place.

#What we change and what we leave alone

We only change the records your website needs: your domain's A record (and AAAA if needed), the CNAME record for www, and the records for Sending email if you switch it on. Namecheap's parking page on those names is replaced.

We leave every other record in place. Namecheap works by saving the whole list on every change, so we read everything first and write it all back, with only our records changed. Your MX records and email settings stay exactly as they were.

#Security

We store the key encrypted, and it only works from the IP address on your list. You can revoke it any time: switch off API Access at Namecheap, or remove our IP address from the list. Your website keeps working.

#Not working?

  • Message about the IP address: check that the IP address from the dashboard is on your Whitelisted IPs exactly as shown. Sometimes it takes a few minutes before Namecheap accepts a new address.
  • "Invalid key": check your username and copy the key again.
  • Domain doesn't use Namecheap DNS: do your name servers point to another company, such as Cloudflare? Then follow that company's guide.

#Next step

Read Checking that your domain works.

Was this helpful?

Guide

Search the guide

Type a word or a question. Tip: press Ctrl K to open this anywhere.