COS-General

How to go live with HubSpot using Bluehost

Last updated: July 26, 2017

Available For:

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

Follow these steps to go live on the HubSpot COS with a Bluehost registered domain that has its nameserver set to Blue Host. If you moved your nameserver to another host after registering the domain with Blue Host, you'd instead need to make the changes with the other host.

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.  

 

Instructions for hosting part of your site with HubSpot

  • In your HubSpot Marketing account, navigate to Content > Content Settings.
  • Click on the Domain Manager link in the Content Optimization System Tools side menu. 
  • Click Connect Another HubSpot COS Domain button at the bottom of the HubSpot COS Domains table.
  • Add your new domain to connect and configure how it will host your HubSpot content. If this is the first domain you'll be connecting to your HubSpot account, you'll probably want to make it the primary domain for all tools. To do that, just click on the button next to the make primary for the following tool(s) option and then check the box next to Blog Posts, Email, Landing Pages, and Site Pages.
  • Click Connect Domain.
  • Copy down the CNAME record provided, ex: 123456.webhost77.hubspot.net
  • Next, navigate to bluehost.com.
  • Click login in the top right. 
Blue-host-login
  • Locate and click on cpanel in the upper left hand corner of the navigation menu.
Locate and click on cpanel in the upper left hand corner of the navigation menu.
cpanel-navigation-link
  • Scroll down to the Domain management Section and click on DNS Zone Editor.
Domain Management DNS Zone Editor
  • If you have multiple domains, select the correct domain in the Select a Domain section and click Reload.
If you have multiple domains, select the correct domain under the section Select a Domain and click Reload.
Domain-Select
  • Take a screenshot of the DNS record set-up within the account for your records.
  • If you see the record you'd like to use in the A-Host section, delete it.
  • Next, add in a CNAME record (for example, blog or info) or edit your existing CNAME record by pointing it to HubSpot's CNAME address.
add or edit cname
add or edit cname
  • Save changes.
  • It may take anywhere from a couple hours to 24-48 hours for these DNS changes to propagate, at which point you'll see the domain is properly connected in the HubSpot Domain Manager.

 

Instructions for hosting your entire site with HubSpot

  • In your HubSpot Marketing account, navigate to Content > Content Settings.

  • Click on the Domain Manager link in the Content Optimization System Tools side menu. 
  • Click Connect Another HubSpot COS Domain button at the bottom of the HubSpot COS Domains table.

  • Add your new domain to connect and configure how it will connect to your HubSpot content. If this is the first domain you'll be connecting to your HubSpot account, you'll probably want to make it the primary domain for all tools. To do that, just click on the button next to the make primary for the following tool(s) option and then check the box next to Blog Posts, Email, Landing Pages, and Site Pages.
  • Click Connect Domain.
  • Copy down the CNAME record provided, ex: 123456.webhost77.hubspot.net
  • Next, navigate to bluehost.com.
  • Click login in the top right. 
Blue-host-login
  • Locate and click on cpanel in the upper left hand corner of the navigation menu.
cpanel-navigation-link
  • Scroll down to the Domain management Section and click on DNS Zone Editor.
Domain Management DNS Zone Editor
  • If you have multiple domains, select the correct domain in the Select a Domain section and click Reload.
Domain-Select
  • Take a screenshot of the DNS record set-up within the account for your records.
  • If your WWW record is in the A-Host section and you are connecting your WWW subdomain to HubSpot, locate and delete the WWW A record.
  • Either add in the WWW CNAME record or edit the WWW CNAME record by pointing it to HubSpot's CNAME record.
add or edit cname
  • Save changes.

In order to properly take your entire website live on the HubSpot COS, you need to set up a 301 redirect/domain forwarding from the root domain (domain.com) to the subdomain you are connecting to HubSpot (subdomain.domain.com) in Bluehost. In the instructions below that address setting up that redirect in Bluehost, you may find that you need to either set up the redirect yourself by editing the .htaaccess file, which takes a good amount of technical know-how, or contact Bluehost support to have them set up that 301 redirect for you. HubSpot Support does not support the editing or updating of your .htaaccess file, so you will need to contact Bluehost if you cannot do it yourself. If your DNS provider does not provide a 301 redirect, please reach out to our Support team and they can help you with a solution. 

  • At the top of the page click on redirect.
redirect navigation item
  • Select Permanent 301
  • To redirect to the WWW.yoursite.com
  • Select the Do Not Redirect WWW option.
  • Select Make this a wildcard redirect to redirect traffic from yoursite.com/{rest-of-url} to www.yoursite.com/{rest-of-url} (without this, all URLs on your root domain, yoursite.com/{rest-of-url} will redirect to www.yoursite.com)
  • Add this redirect.

If you find that need further assistance setting up that wildcard redirect in Bluehost, you'll need to either set up the redirect yourself by editing the .htaaccess file, which takes a good amount of technical know-how, or contact Bluehost support to have them set up that 301 redirect for you. HubSpot Support does not support the editing or updating of your .htaaccess file

add redirect
  • It may take anywhere from a couple hours to 24-48 hours for these DNS changes to propagate, at which point you'll see the domain is properly connected in the HubSpot Domain Manager.

Was this article helpful?