COS-General

How to go live with HubSpot using 1and1

Last updated: April 4, 2017

Available For:

Product: HubSpot Marketing
Subscription: Basic, Professional, & Enterprise

Follow these steps take your entire site live on the HubSpot COS if you are hosting your domain's nameservers with 1and1. If you moved your nameserver to another host after registering the domain with 1&1, you'd instead need to make the changes on 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.  

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. Navigate to Content > Content Settings

Log into HubSpot and navigate to Content > Content Settings. 

2. Select the 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.

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 Domain

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

3. Click Connect Another HubSpot COS Domain

4. Enter in 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. 


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 Landing Pages and Blog Posts.


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 1&1 account.

7. Copy down the CNAME record provided

After you click Connect Domain, you'll see a message similar to the one below, 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. You will use the CNAME value when you log into 1&1.

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

Once you have copied your HubSpot CNAME, open a new browser window or tab and go to http://1and1.com. Click Login in the upper-right corner of the screen. Enter in your login credentials towards the center of your screen and click Login.

9. Manage your Domain

Once you are in your Control Panel in 1and1, click Manage Domain

 

10. Create a new subdomain

To create a new subdomain in your 1&1 account, browse or use the Find Domains... search bar to find the root domain for which you'd like to add a subdomain. Click the three dots to the right of the domain and click Manage Subdomains.  

On the next screen, click Add subdomain. If the subdomain you're connecting in HubSpot already exists in the list of subdomains here, skip to step 11. 

In the dialog box that appears, enter the name of the subdomain you'd like to connect to HubSpot (e.g. blog, news, info, etc.). Then click Save

11. Edit the DNS Settings for your newly created subdomain

After you click save, you'll be returned to your list of subdomains. Under your newly created subdomain, click Use Your Domain. If you need to make changes to a preexisting subdomain, click the three dots to the right of it and select Adjust destination

On the next page, select DNS Settings.

12. Create a CNAME record

Scroll to the A/AAAA and CNAME Records section. Select the radio button for CNAME. In the Alias field, paste your CNAME value provided by the HubSpot Domain Manager. Be sure to click the checkbox below the Alias field and click Save to save the CNAME record. 

13. Wait for the DNS change to propagate

Congratulations! You've now connected your subdomain in 1&1 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. Navigate to Content > Content Settings

Log into HubSpot and navigate to Content > Content Settings. 

2. Select the Domain Manager

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

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 Domain

To connect your 1and1 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.hubsupportspot.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, 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

On this screen, 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. This example shows the setup for connecting www.hubsupportspot.com as the primary domain for all content. Click Connect Domain

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. Copy down the CNAME value provided

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. You will use the CNAME value when you log into 1and1.

7. Go to 1and1.com in a new tab and log into your 1and1 account

Once you have copied your HubSpot CNAME, open a new browser window or tab and go to http://1and1.comClick "Login" in the upper-right corner of the screen. Enter in your login credentials towards the center of your screen and click Login.

8. Manage your Domain

Once you are in your Control Panel in 1and1, click Manage Domain.

9. Create a new subdomain

To create a new subdomain in your 1&1 account, browse or use the Find Domains... search bar to find the root domain for which you'd like to add a subdomain. Click the three dots to the right of the domain and click Manage Subdomains.  

On the next screen, click Add subdomain. If your www subdomain already appears in the list of subdomains here, skip to step 11. 

In the dialog box that appears, enter www in the field. Then click Save

10. Edit the DNS Settings for your newly created subdomain

After you click save, you'll be returned to your list of subdomains. Under your newly created subdomain, click Use Your Domain. If you need to make changes to a preexisting subdomain, click the three dots to the right of it and select Adjust destination

On the next page, select DNS Settings.

11. Create a CNAME record

Scroll to the A/AAAA and CNAME Records section. Select the radio button for CNAME. In the Alias field, paste your CNAME value provided by the HubSpot Domain Manager. Be sure to click the checkbox below the Alias field and click Save to save the CNAME record. 


12. Redirect your non WWW domain to your WWW domain

Go to your 1&1 Domain Center and click Edit Destination for your domain. 

On the next screen, select Redirect for the Destination and then type in your domain with the www in the Redirect Destination field. For type, select HTTP Redirect. This will redirect visitors who just type in yourdomain.com to www.yourdomain.com so they can view your HubSpot content.

One important thing to note about 1and1 is that the redirect that you can setup from the root domain (domain.com) to the subdomain (www.domain.com) can only be set up as a 302 redirect. This redirect is also not a wildcard. A 301 wildcard redirect is the best method to implement a permanent redirect, which you can read more about here

13. Wait for the DNS change to propagate

Congratulations! You've now connected your subdomain from 1&1 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 circle next to the domain name is green.