Reverse Proxy Issue during Migration

Hi,

I am in the process of migrating my existing website which is on Wordpress to Hubspot CMS. The current marketing site is redirected through reverse proxy as we have our software platform also hosted on the same domain. So we use reverse proxy to redirect the traffic.

Domain: www.aanmelder.nl (Own server - AWS)

Marketing site: www.aanmelder.nl/nl (wordpress)

I connected my domain to hubspot and followed the procedures as mentioned in the reverse proxy developer page. As current site is live i created an url path within my server i.e., www.aanmelder.nl/__hubspot/nl and trying to setup reverse proxy so i can work on my website temporarily and change the proxy redirect once the new site is ready to be published. (i.e., back to www.aanmelder.nl/nl)

But after following the step, when i come back to hubspot and verify the page does not load and it just keep looping. I tried to debug multiple times, checked the CNAME and checked every other steps and everything seems to be as per the documentation. I am not sure how to resolve this as i am not getting any support from the Hubspot team. Would really appreaciate the assist here on how to debug this.

What we want to do is the following.

All traffic that goes to aanmelder.nl goes to our own servers, this is setup in our dns.

A apache server is running there that forwards certain paths to our own application, and other paths to hubspot (and right now also wordpress, but that will be removed when hubspot is implemented).

If the path matches with pages we identified and ‘hubspot content’ we will forward them using a reverse proxy to hubspot.

During the setup phase, I will setup the proxy for /__hubspot/* (and all reverse proxy required pages mentioned in https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support)

Currently our aanmelder.nl/nl pages use wordpress (also with a reverse proxy). All these pages will be converted to hubspot.

So when everything is ready, I will change the reverse proxy and redirect all /nl, /en, and /de pages to use hubspot.

Thanks

Hi, @TBasha :waving_hand: I understand that setting up a reverse proxy for your migration to HubSpot CMS is proving to be a tricky endeavor. These situations can indeed get complex, especially when making sure everything runs smoothly without disrupting your current services.

Our main challenge is that reverse proxy setup is not provided by HubSpot’s support team. You may purchase time with a HubSpot Technical Consultant for support with implementing a reverse proxy on HubSpot, or work with a HubSpot Solutions Provider or Partner. We’ll also leave this here in case other community members have any insight they can share.

Best,

Jaycee