Become a HubSpot power user — join us for HubSpot Training Day 2017.

COS-General

How to go live with HubSpot using Namecheap

Last updated: March 15, 2017

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

Follow these steps to go live on the HubSpot COS with a domain that has its name servers hosted with Namecheap. If you have moved your name servers to another host, after registering the domain with Namecheap, you will need to make the changes with that other host instead.

 

There are two sets of instructions below. The first set of instructions is for sites that are partially hosted with the HubSpot COS. This means you are only hosting some of your content with HubSpot, such as your Blog and Landing Pages, but have your main site hosted elsewhere. The second set is for fully hosted websites. This option is for if you will have your entire main website built on HubSpot's COS. Before proceeding, click the option below that best describes what you will be hosting with HubSpot to see the correct set of instructions for taking your site live with HubSpot.  

I will only be hosting part of my website with the HubSpot COS (ex: Blog, Landing Pages, Trial Accounts)

I will be hosting my entire site with the HubSpot COS (the content built in HubSpot will replace my existing website)

Instructions for if your site is only partially hosted with HubSpot

If you are only taking parts of your website live with HubSpot, like your blog and landing pages, follow these instructions. If you are using a free trial of HubSpot and wish to connect part of your domain, you will also want to follow these instructions, as opposed to connecting your full site.  

1. Go to Content > Content Settings

Log in to HubSpot Marketing and navigate to Content > Content Settings.

2. Select Domain Manager

Click on the Domain Manager link in the Content Optimization System Tools side menu. You can also access the domain manager using this link.

2. Select Domain Manager

The domain manager tool displays all of the domains that are associated with your HubSpot account. You can see the connection status of those domains, edit the configuration of each domain, or remove them from your account.

3. Click Connect Another HubSpot COS Domain

To connect your Namecheap domain, click on the Connect Another HubSpot COS Domain.  

3. Click Connect Another HubSpot COS Domain

4. Enter the subdomain that you want to connect to HubSpot

In the Domain to Connect field you will want to enter a subdomain to associate with your HubSpot content such as blog.mywebsite.com or info.mywebsite.com, because HubSpot will only be responsible for hosting part of your site's content. In the example below, info.supporths.com is used.

5. Choose your configuration options for the domain

Next you'll select what types of content you want to use the subdomain for. In this example, we are using HubSpot for our Blog, Landing Pages, and webpage versions of Email, but not our full site. Note: If you have a Basic HubSpot subscription, you will only be able to choose "Make primary for Content tools" as it is only possible to have one primary domain.

 

6. Click Connect Domain

After you've selected your domain configuration options, click the Connect Domain button to add the domain to your list of domains and get the CNAME address information you'll need to use in your Namecheap account.

6. Click Connect Domain

7. Copy down the CNAME record provided, ex: 123456.group32.sites.hubspot.net

After you click Connect Domain, you'll see a message similar to the one below, in your account, but it will have the CNAME information that is unique to your HubSpot account. Click the Copy button or highlight the CNAME value and copy it to your clipboard.

7. Copy down the CNAME record provided, ex: 123456.group32.sites.hubspot.net

8. Go to Namecheap.com in a new tab and log into your Namecheap account

Once you have the information copied down, open a new browser window or tab and go to www.namecheap.com. Click Sign in in the upper left hand corner and enter your information to log into your account.

9. Go to the Domain List tool in Namecheap

Once you have logged in, you should be in your Dashboard in Namecheap. Click Domain List in the left sidebar. You will then see a list of the domains in your account. Find the domain you want to use with HubSpot and click Manage

10. Navigate to Advanced DNS 

You will now be able to see your domain details. To manage DNS records for your domain, select Advanced DNS towards the top of the page.

12. Add a new record

Find the section for Host Records. Here, you will see a list of existing DNS records.

Click Add new record and select CNAME Record from the dropdown.

13. Create a CNAME record

In the Host field for your new record, enter the prefix of the subdomain that you would like to connect to HubSpot. In our example, we are connecting info.supporths.com to our COS tools, so we've entered info into the Host field. Next, paste the CNAME record that you copied in Step 7 from your HubSpot account into the Target field and click the checkmark towards the right to save.
   

14. Wait for the DNS change to propagate

Congratulations! You've now connected your subdomain from Namecheap to HubSpot! Your changes will finish taking effect within 24 hours. You'll be able to verify that the domain is connected in HubSpot by going back to the domain manager tool in HubSpot and seeing that the Status of the domain is Primary and that the circle next to the domain name is green.

Instructions for if your entire site is hosted with HubSpot

If you are using the HubSpot COS to host your entire website, follow these instructions. Please ensure that you have all of your content created or migrated into HubSpot before going live. Once your domain is connected, visitors to your site will see the COS site that you have constructed in your HubSpot account.

1. Go to Content > Content Settings

Log in to HubSpot Marketing and navigate to Content > Content Settings.

2. Select Domain Manager

Click on the Domain Manager link in the Content Optimization System Tools side menu. You can also access the domain manager using this link.

2. Select Domain Manager

The domain manager tool displays all of the domains that are associated with your HubSpot account. You can see the connection status of those domains, edit the configuration of each domain, or remove them from your account.

3. Click Connect Another HubSpot COS Domain

To connect your Namecheap domain, click on the Connect Another HubSpot COS Domain.  

3. Click Connect Another HubSpot COS Domain

4. Enter the domain name that you want to connect to HubSpot

In this step, type in the domain that you want to connect to HubSpot. In the Domain to Connect field you will add the www version of your website (e.g. www.mywebsite.com) because HubSpot will be responsible for hosting all of your site's content. In the example below, www.supporths.com is used.

What if I want to connect mydomain.com instead of www.mydomain.com?
HubSpot's COS is able to load pages and files at high-speed and protect your site against malicious attacks (like DDOS) attacks, but the technology that enables this will only work with what are known as CNAME records. Most name server hosts cannot connect root domains, a domain without WWW, using CNAME records. So you will need to connect the WWW version of your domain to HubSpot in order for this to work. The non WWW version will be redirected to the WWW version in step 14 below, so that visitors will always be able to get to your website, regardless of how they type your domain.

5. Choose your configuration options for the domain

Next, you'll select the tools for which you'd like to make this subdomain primary. Click the Make primary for the following tool(s) radio button and then check the box next to Blog Posts, Email, Landing Pages, and/or Site Pages. Note: If you have a Basic HubSpot subscription, you will only be able to choose "Make primary for Content tools" as it is only possible to have one primary domain. This example shows the setup for connecting www.supporths.com as the primary domain for all content.

The exact configuration that you will choose for your domain will depend on your business needs, so if you have a question about what options are right for you, please reach out to our Support team to discuss.

6. Click Connect Domain

After you've selected your domain configuration options, click the Connect Domain button to add the domain to your list of domains and get the CNAME address information you'll need to use in your Namecheap account.

6. Click Connect Domain

7. Copy down the CNAME record provided, ex: 123456.group35.sites.hubspot.net

After you click Connect Domain, you'll see a message similar to this in your account, but it will have the CNAME information that is unique to your HubSpot account. Click the Copy button or highlight the CNAME value and copy it to your clipboard.

7. Copy down the CNAME record provided, ex: 123456.group32.sites.hubspot.net

8. Go to Namecheap.com in a new tab and log into your Namecheap account

Once you have the information copied down, open a new browser window or tab and go to www.namecheap.com. Click Sign in in the upper left hand corner. 

9. Go to the Domain List tool in Namecheap

Once you have logged in, you should be in your Dashboard in Namecheap. Click Domain List in the left sidebar. You will then see a list of the domains in your account. Find the domain you want to use with HubSpot and click Manage

10. Navigate to Advanced DNS 

You will now be able to see your domain details. To manage DNS records for your domain, select Advanced DNS towards the top of the page.

12. Edit the CNAME record for your www subdomain

Find the section for Host Records. Here, you will see a list of existing DNS records.

Find the row with "www" in the Host column. Click on the current address in the Value column to access it for editing. Replace the current value with your HubSpot CNAME value from Step 7 of these instructions. Make sure that the type is set to CNAME. Click the green checkmark towards the right to save your changes.

14. Forward your non WWW domain to your WWW domain

In order to redirect users who type in your website address without the "www" (supporths.com for example), you will need to add a 301 URL Redirect record for the "@" host. Find and click on your @ record in the Host Records section of Advanced DNS to access it for editing. Select URL Redirect Record for the type and enter your website URL with the "www" for the value. Be sure to select Permanent (301) from the dropdown towards the right. Click the green checkmark towards the right to save your changes.

 

15. Wait for the DNS change to propagate

Congratulations! You've now pointed your domain name from Namecheap to HubSpot! Your changes will finish taking effect within 24 hours. You'll be able to verify that the domain is connected in HubSpot by going back to the domain manager tool in HubSpot and seeing that the Status of the domain is Primary and that the circle next to the domain name is green.

Was this article helpful?