# Reverse Proxy Support

**URL:** <https://community.hubspot.com/t/reverse-proxy-support/20460>\
**Category:** CMS Development\
**Created:** [April 29, 2020, 12:49pm UTC](https://community.hubspot.com/t/reverse-proxy-support/20460 "2020-04-29T12:49:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kenan/32/79644_2.png) [@Kenan](https://community.hubspot.com/u/Kenan)\
**Post date:** [April 29, 2020, 12:49pm UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/1 "2020-04-29T12:49:38Z")

</div>

Hello,

i am trying to test the new Reverse Proxy Support with an nginx proxy server to redirect only [www.mydomain.com/blog](http://www.mydomain.com/blog) to hubspot.

I did the steps mentioned here [reverse-proxy-support](https://designers.hubspot.com/docs/developer-reference/reverse-proxy-support)

My problem is that after doing the steps all requests will be directed to hubspot instead of my proxy server. which means even [www.mydomain.com](http://www.mydomain.com) will also be directed to hubspot.

My questions are:

1. Can i achieve that only with a different subdomain than www?
2. In the steps “For example, if your HubID is 123, your correct origin CNAME would be [123.sites-proxy.hscoscdn20.net](http://123.sites-proxy.hscoscdn20.net)” I can off course get it but dont understand where do i have to put this “origin CNAME”

---

<div class="post-metadata">

**Author:** ![Willson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/willson/32/84663_2.png) [@Willson](https://community.hubspot.com/u/Willson)\
**Post date:** [May 1, 2020, 9:47am UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/2 "2020-05-01T09:47:49Z")

</div>

Hi @Kenan,

Thanks for getting in touch!

I’ll answer your questions below:

1. Due to the way HubSpot configure domains and that we advise on the use of CNAME records, it is recommended that you use the subdomain www instead of a ‘naked domain’.
2. This is just referencing the origin CNAME record i.e [123.sites-proxy.hscoscdn20.net](http://123.sites-proxy.hscoscdn20.net) - In this case, this record is added in the following step to configure your proxy to forward requests using this origin CNAME.

I hope this helps!

---

<div class="post-metadata">

**Author:** ![Kenan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kenan/32/79644_2.png) [@Kenan](https://community.hubspot.com/u/Kenan)\
**Post date:** [May 7, 2020, 9:13am UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/3 "2020-05-07T09:13:04Z")

</div>

Hi @Willson,

Thanks for your answer. We already got that fixed and its working like a charm.

---

<div class="post-metadata">

**Author:** ![AAlsalkhadi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aalsalkhadi/32/34870_2.png) [@AAlsalkhadi](https://community.hubspot.com/u/AAlsalkhadi)\
**Post date:** [June 12, 2023, 2:05pm UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/4 "2023-06-12T14:05:21Z")

</div>

Hello @Kenan,  
can you provide more information on how to do that?  
thank you

---

<div class="post-metadata">

**Author:** ![GChauhan0](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@GChauhan0](https://community.hubspot.com/u/GChauhan0)\
**Post date:** [January 10, 2025, 7:41am UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/5 "2025-01-10T07:41:11Z")

</div>

Hi @Kenan , I am also facing the similar issue, can you please guide us for the solution.

---

<div class="post-metadata">

**Author:** ![Kenan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kenan/32/79644_2.png) [@Kenan](https://community.hubspot.com/u/Kenan)\
**Post date:** [May 7, 2020, 9:32am UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/6 "2020-05-07T09:32:55Z")

</div>

Hi @Willson,

I am sorry to write 2 times but i also have another problem. In my company we are trying to test the Reverse Proxy Support from HubSpot so we can offer it to our customers. The first Test was from an Nginx server and it worked. now we are trying to do the same but from an Azure server. and the server’s ip address was blocked from Hubspot after the first request. How could we unblock it?

Thanks in advance

Kenan

---

<div class="post-metadata">

**Author:** ![msbt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/msbt/32/58551_2.png) [@msbt](https://community.hubspot.com/u/msbt)\
**Post date:** [October 21, 2021, 9:53am UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/7 "2021-10-21T09:53:29Z")

</div>

Just chiming in here because we’re currently trying to set up reverse proxying from Fastly to HubSpot and run into the same problems. It seems that HubSpot doesn’t recognize our test-subdomain (e.g. [hubspot.example.com](http://hubspot.example.com)) as such and wants us to change the settings on DNS/domain level (which renders the reverse proxy in between useless). Following the documentation from here [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support) goes sideways at step 10, it never shows this text “_It looks like this domain already has an SSL certificate from another provider_” and thus allowing us to enter the txt/cname records to validate the domain. Did anyone else encounter an issue like that?

Best regards,

Matthias

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 21, 2025, 10:57am UTC](https://community.hubspot.com/t/reverse-proxy-support/20460/8 "2025-05-21T10:57:38Z")

</div>

I had a similar issue with reverse proxy setup. To keep only blog routed to HubSpot, make sure your nginx config specifically targets that path. Also, the origin CNAME is used in your proxy rules to point requests to HubSpot it’s not added in DNS but used internally in the [proxy setup](https://ytcroxyproxy.com/).
