Cloudfare and Hubspot integration

Hello,

I have an issue after installing cloudfare.

This disconnect my website from Hubspot and my emails are no longer received by my contacts.

I tried to update my DNS in cloudfare but this change my IP adress and my website wasn’t on line anymore.

I needed to change again the IP adress to get my website on line.

What can I do to connect hubspot to my website ?

Thank you for your help

Sandrine

Hi @LeZèbre to confirm, is your website built in HubSpot? or another CMS?

If your website is NOT hosted in HubSpot, you need to reconnect your current website to your DNS records and use a unique subdomain for HubSpot.

If your website is hosted in HubSpot, please share the status of the domain connection from the HubSpot settings so we can identify the error.

Hello

My website is hosting with cpanel.

I have reconnected it to my DNS record (as you can see) otherwise it is not on line anymore.

How can I connect a subdomain in Hubspot ? I have already connected my subdomain www.zebrestrategie.com because my domain name is on the form zebrestrategie.com

But my emails still don’t arrive to my contacts.

Thank for your help

Sandrine

Hi @LeZèbre typically the www. version will redirect to the non-www. version, I have confirmed this to be the case for your website.

When I checked the link you provided it redirects to mydomain.com, but if I type it in manually as zebrestrategie.com it does work and the www. is redirecting as well (this is what you want).

I would recommend removing the www. subdomain from HubSpot and changing it to something relevant, like info.zebrestrategie.com

To do this, disconnect the domain here:

The domain in HubSpot is currently configured as a redirect domain, you’ll need to connect it as a primary domain for email following these steps:

1 - click Connect a domain:

2 - choose Email Sending:

This requires a paid plan:

3 - follow the prompts to connect your email sending domain:

Looking at your screenshot, it looks like you are on a free plan - if you don’t want to upgrade, you can still send emails from HubSpot, it will allow you to send from any email address for users in your account or you can add an address:

This will not prompt you to set up the DMARC, DKIM, or SPF records for HubSpot.

DMARC can be setup independent of the host, it’s a record type you add directly to your DNS:

Add a TXT record with HOST = DMARC, with this value = v=DMARC1; p=none;

SPF is automatically added by HubSpot since it’s being sent from their server, no action needed (see more here from the recent AMA)

You won’t be able to configure a DKIM record, but you can send a test email from HubSpot using https://www.learndmarc.com/ to better understand your email deliverabilty.

Hello,

Yes you’re right, I have a free plan so it doesn’t work. Si if I understand well, I cannot connect my domain zebrestrategie.com

I don’t really understand what to do for the email following.

I have already a DMARC record in my DNS in cloudfare.

Do I need to change something ? I think this is correct.

My emails are not delivered with this configuration

Thank you

Sandrine

Hello

I run a test for my emails and i get this

What do i need to change ?

Hi @LeZèbre for this test, did you send it from Outlook or HubSpot?

It looks like you sent it from Outlook, which would require you to configure your DKIM and SPF for Outlook.

How do you know your emails from HubSpot aren’t being delivered?

I sent it from Hubspot but my hubspot is connected with Outlook.

I know they are not delivered because my customers don’t receive them.

Hi @LeZèbre Your DMARC looks correct, nothing that would need to be changed. We just need to get to the bottom of why your emails aren’t being delivered.

I found the solution with my hosting provider Namecheap :
Hello,
Thank you for getting back to us!
Your SPF record doesn’t have “include:spf.protection.outlook.com”, you should change it from
v=spf1 ip4:162.213.251.113 ip4:162.213.251.150 include:spf.web-hosting.com ip4:162.213.251.149 +ip4:198.54.116.159 +ip4:198.54.114.33 +ip4:198.54.115.159 +ip4:198.54.114.159 +mx +a +include:servers.mcsv.net ?all

To the following:
v=spf1 ip4:162.213.251.113 ip4:162.213.251.150 include:spf.web-hosting.com ip4:162.213.251.149 +ip4:198.54.116.159 +ip4:198.54.114.33 +ip4:198.54.115.159 +ip4:198.54.114.159 +mx +a +include:servers.mcsv.net include:spf.protection.outlook.com ?all
We also recommend changing the “all” flag in the record from the neutral one(?all) to the strict one(-all). It may help as well. In such a case, the record should look in the following way:
v=spf1 ip4:162.213.251.113 ip4:162.213.251.150 include:spf.web-hosting.com ip4:162.213.251.149 +ip4:198.54.116.159 +ip4:198.54.114.33 +ip4:198.54.115.159 +ip4:198.54.114.159 +mx +a +include:servers.mcsv.net include:spf.protection.outlook.com -all

… and it works ! :blush:

That’s great @LeZèbre, I’m glad you could track down the issue with the SPF record and get it resolved!

Integrating Cloudflare with your website and maintaining connectivity with HubSpot for email purposes. To resolve this, you may need to carefully review your DNS settings in Cloudflare to ensure they are correctly configured to point to both your website and HubSpot’s email servers. Additionally, consider reaching out to both Cloudflare and HubSpot support teams for further assistance and guidance tailored to your specific setup and requirements.