<!DOCTYPE html>
<html><head><title>How do I set up a custom domain with NameCheap?</title></head><body>
<strong>How do I set up a custom domain with NameCheap? </strong><br />
<br />
First of all, before you try to set up a custom domain with NameCheap, make sure that you understand the details of setting up a CNAME DNS record by reading this FAQ first:<br />
<table border="0" cellpadding="0" cellspacing="0" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; max-width: 100%; background-color: rgb(255, 255, 255);">
<tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; width: 20px;"><a href="/user/faqs.cgi?answer=140"><img height="20" src="//cdn.clickmagick.com/images/user/faqpage.gif" style="box-sizing: border-box; border: 0px; vertical-align: middle;" width="17" /></a></td>
<td style="box-sizing: border-box;"> </td>
<td style="box-sizing: border-box;"><b><a href="/user/faqs.cgi?answer=140"> What is the recommended way to set up a custom domain? </a></b></td>
</tr>
</tbody>
</table>
<br />
Be sure to watch our Setup Video that shows you step-by-step how to set up your custom domain using NameCheap:<br />
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><a href="/misc/video.cgi?name=cnamedns" id="video-link-new"><img border="0" height="24" src="//cdn.clickmagick.com/images/user/play.png" width="24" /></a></td>
<td><img height="1" src="//cdn.clickmagick.com/images/spacer.gif" width="10" /></td>
<td><b><a href="/misc/video.cgi?name=cnamedns" id="video-link-new">How To Set Up A Custom Domain Using a CNAME DNS Record</a></b></td>
</tr>
</tbody>
</table>
<br />
<br />
<strong>Setting up your custom domain with NameCheap ...</strong><br />
<br />
<strong>Step 1:</strong> <strong>Create a CNAME record in the DNS Settings</strong><br />
<br />
From within NameCheap, open your domain. Make sure your NameServers setting says “NameCheap BasicDNS” as shown below.<br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/ncpanel.png" /><br />
<br />
If the nameservers do not say “NameCheap BasicDNS”, then this is NOT the setup guide you should be using—you should be using the control panel that the nameservers point to. Usually, that will be cPanel, and we have a guide for that:<br />
<table border="0" cellpadding="0" cellspacing="0" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; max-width: 100%; background-color: rgb(255, 255, 255);">
<tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;">
<td style="box-sizing: border-box; width: 20px;"><a href="/user/faqs.cgi?answer=188"><img height="20" src="//cdn.clickmagick.com/images/user/faqpage.gif" style="box-sizing: border-box; border: 0px; vertical-align: middle;" width="17" /></a></td>
<td style="box-sizing: border-box;"> </td>
<td style="box-sizing: border-box;"><b><a href="/user/faqs.cgi?answer=188">How do I set up a custom domain with cPanel?</a></b></td>
</tr>
</tbody>
</table>
<br />
If your NameServers do say “NameCheap BasicDNS”, then click on the button that says “Advanced DNS”.<br />
<br />
The Advanced DNS editor will show you all of the existing DNS records for your domain and give you the option to add new DNS records with an “Add New Record” link that you can find at the bottom of your current settings.<br />
<br />
For example, if you want your custom tracking domain to be <strong>www</strong>.<em>yourdomain.com</em>, you’d select “CNAME” from the drop-down menu on the left-hand side, enter <strong>www</strong> in the “Host” section of the DNS entry, and point it to one of ClickMagick’s domains in the “Target” field. Use <strong>www.clkmg.com</strong> for tracking links and split tests or <strong>www.clkmr.com</strong> for rotators.<br />
<br />
Your entry should look like this:<br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/nccname.png" /><br />
<br />
Click the green checkmark to save your changes and you should see this CNAME entry:<br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/ncwwwent.png" /><br />
<br />
<span style="background-color:#FFFFE0;">WARNING:</span> NameCheap will erroneously allow you to enter <em>duplicate</em> CNAME entries. If you see more than one CNAME record with the host “www”, delete any that are not pointing to the ClickMagick domain that you just entered. This is VERY important or things won’t work.<br />
<br />
Here is an example showing two conflicting “www” CNAME entries. The first one should be deleted because it does <em>not</em> point to the ClickMagick domain just entered.<br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/ncwwwdups.png" /><br />
<br />
If you don’t want to use “<strong>www</strong>.yourdomain.com” for your tracking domain because it already points to another website that you want to keep, you’ll want to set the “Host” to something other than “www”.<br />
<br />
The word “track” is a good choice, giving you “track.yourdomain.com” as your tracking domain:<br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/nctrkent.png" /><br />
<br />
Again, check for duplicates and delete any that aren’t pointing to the ClickMagick domain.<br />
<br />
<br />
<b>Step 2: Add your custom domain to ClickMagick</b><br />
<br />
Once you complete Step 1 above, the only other thing you need to do is add your custom domain to your ClickMagick account using the <strong><a href="/user/domains.cgi" target="_blank">Domain Manager</a></strong>.<br />
<br />
Be sure to add your custom domain exactly as you’ve set it up in Step 1 above e.g. either <code>www.yourdomain.com</code> or <code>track.yourdomain.</code>com in the examples above.<br />
<br />
ClickMagick’s Domain Manager will thoroughly test your domain when you try to add it. If the Domain Manager accepts the domain, then you’ve set it up correctly and it’s working perfectly! Otherwise, read and follow any error messages you get.<br />
<br />
<br />
<b>Step 3: Create your custom domain without “www.” <em>(optional)</em></b><br />
<br />
If you’re using your custom domain <em>only</em> for tracking purposes, you’ll probably want to also set up the non-”www.” version of your domain (i.e., “yourdomain.com”). This would typically be the case if you’ve just bought your domain specifically for tracking purposes.<br />
<br />
For example, if you just set up a CNAME record with a hostname of “www” as in Step 1 above, your tracking links will look like this:<br />
<br />
<code>http://www.yourdomain.com/linkID</code><br />
<br />
However, if you leave off the “www.” like this…<br />
<br />
<code>http://yourdomain.com/linkID</code><br />
<br />
… the tracking domain will NOT work.<br />
<br />
You have to set the non-”www.” version up as well, and because the non-”www.” domain does not have a Host Name, you cannot use a CNAME record to properly set it up. Instead, you need to use an “A” record.<br />
<br />
<em><span style="background-color: rgb(255, 255, 224);">Caution: you cannot make this change if you have any existing content at “yourdomain.com”. The second you add the “A” record, your domain will point to ClickMagick and not to your original website. This will break your existing website if you have one, and that includes a WordPress blog.</span></em><br />
<br />
If you’re unsure whether you have existing content, just enter your domain without the “www.” and see what pulls up. If it’s a website you want to keep, then you can’t add the “A” record or you will lose that website…<br />
<br />
<span style="background-color: rgb(255, 255, 255);">To get started, if there’s an existing “A” record that has the “@” character for the “host”, then you’ll need to delete it by clicking on the trashcan at the right. You will almost certainly have to do this step. An existing entry will look like this, but with a different IP address:</span><br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/ncorgaent.png" /><br />
<br />
NameCheap may also have a conflicting “URL Redirect Record”. If you see a “URL Redirect Record” with the “Host” set the “@” character, you’ll need to delete that as well. It will probably look like this, if there is one:<br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/ncredat.png" /><br />
<br />
Next, add a new “A” record, entering “@” for the “Host” field. Set the IP address to <strong>50.97.212.250</strong> for tracking domains or <strong>50.97.212.251</strong> for rotator domains:<br />
<br />
<img src="//cdn.clickmagick.com/images/user/faqs/ncarec.png" /><br />
<br />
Click on the green checkmark to save your changes and your “A” record will be all set up! Your final complete setup—without duplicates—should look like this:<br />
<br />
<img alt="" src="//cdn.clickmagick.com/images/user/faqs/ncfinalsetup.png" style="width: 600px; height: 300px;" /><br />
<br />
You may see other entries in your DNS records, but as long as you have only one entry for “www” and only one “A” record entry for “@”, then you’ve set it up correctly.<br />
<br />
<br />
<strong>Step 4: </strong><b>Add your custom domain (without “www.”) to ClickMagick</b><br />
<br />
Finally, you have to also add the non-www version of your domain to your <strong><a href="/user/domains.cgi" target="_blank">Domain Manager</a></strong><br />
and you’ll be all set.
</body></html>