COS-General

How to go live with HubSpot using 1and1

Last updated: December 13, 2016

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

On the next screen, click Edit Domain Settings in the Domain Details section for your domain

10. Create a new subdomain

Once on your Domain Settings page, scroll to the Subdomain Overview. First, create a new subdomain by clicking Create Subdomain. If the subdomain you wish to connect to HubSpot already exists in your Subdomain Overview, skip to step 11 to continue.

On the next screen, type in what you want to come before the period in your HubSpot connected subdomain. For example, "info" as seen in the image below. Click Create Subdomain.

11. Edit the DNS Settings for your newly created subdomain

After you click Create Subdomain, you will return to your Domain Settings. Scroll down to the Subdomain Overview where you should see your new subdomain. Click the arrow on right-hand side to view more subdomain options. Then click Edit 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 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 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

On the next screen, click Edit Domain Settings in the Domain Details section for your domain

First, create a new 'www' subdomain by clicking Create Subdomain in the Subdomain Overview. If you have already created a 'www' subdomain in 1&1, skip to step 10 to continue.

On the next screen, type in www and click Create Subdomain.

10. Edit the DNS Settings for your newly created subdomain

After you click Create Subdomain, you will return to your Domain Settings. Scroll down to the Subdomain Overview where you should see your new subdomain. Click the arrow on right-hand side to view more subdomain options then click Edit 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.