# Tutorial: Setting up a Reverse Proxy With HubSpot CMS (with sample nginx & Cloudfront configs !)

**URL:** <https://community.hubspot.com/t/tutorial-setting-up-a-reverse-proxy-with-hubspot-cms-with-sample-nginx-cloudfront-configs/37034>\
**Category:** CMS Development\
**Created:** [May 10, 2021, 5:56pm UTC](https://community.hubspot.com/t/tutorial-setting-up-a-reverse-proxy-with-hubspot-cms-with-sample-nginx-cloudfront-configs/37034 "2021-05-10T17:56:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![PTrojanowski](https://avatars.discourse-cdn.com/v4/letter/p/7ba0ec/32.png) [@PTrojanowski](https://community.hubspot.com/u/PTrojanowski)\
**Post date:** [August 26, 2022, 10:08am UTC](https://community.hubspot.com/t/tutorial-setting-up-a-reverse-proxy-with-hubspot-cms-with-sample-nginx-cloudfront-configs/37034/5 "2022-08-26T10:08:11Z")

</div>

hi, I have a question becouse you type: “you want the initiating domain to be the exact same that you add to HubSpot”. Then it is not possible to create a proxy if I have a subdomain at HubSpot ([blog.mydomain.com](http://blog.mydomain.com)) already and my main domain is “[mydomain.com](http://mydomain.com)” ?

---

_[View the full topic](https://community.hubspot.com/t/tutorial-setting-up-a-reverse-proxy-with-hubspot-cms-with-sample-nginx-cloudfront-configs/37034)._
