# Reverse proxy on IIS server

**URL:** <https://community.hubspot.com/t/reverse-proxy-on-iis-server/70391>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [December 1, 2022, 5:20pm UTC](https://community.hubspot.com/t/reverse-proxy-on-iis-server/70391 "2022-12-01T17:20:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DenisG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/denisg/32/197067_2.png) [@DenisG](https://community.hubspot.com/u/DenisG)\
**Post date:** [December 6, 2022, 8:30am UTC](https://community.hubspot.com/t/reverse-proxy-on-iis-server/70391/3 "2022-12-06T08:30:53Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074),

Thanks for the link but it didn’t help.

I realised that I was not sending correctly the HTTP headers, now it’s ok, but still not working.

I’m seeing a 404 when going to the diagnostics URL [https://[myDomain]/\_hcms/diagnostics](https://yourFullDomain/_hcms/diagnostics).

Here are the headers from the [https://[myDomain]/\_hcms/\_worker/headers](https://yourFullDomain/_hcms/diagnostics)

```auto
accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
accept-encoding: "gzip"
accept-language: "en-US,en;q=0.9,fr;q=0.8,pt;q=0.7,es;q=0.6,fr-FR;q=0.5,pt-PT;q=0.4"
cache-control: "no-cache"
cf-connecting-ip: "[serverIp]"
cf-ipcountry: "NL"
cf-ray: "7753bf3d4cb2b902"
cf-visitor: "{"scheme":"https"}"
connection: "Keep-Alive"
cookie: ""
host: "[myHubId].sites-proxy.hscoscdn10.net"
max-forwards: "10"
pragma: "no-cache"
sec-ch-ua: ""Not?A_Brand";v="8", "Chromium";v="108", "Google Chrome";v="108""
sec-ch-ua-mobile: "?0"
sec-ch-ua-platform: ""Windows""
sec-fetch-dest: "document"
sec-fetch-mode: "navigate"
sec-fetch-site: "none"
sec-fetch-user: "?1"
true-client-ip: "[serverIp]"
upgrade-insecure-requests: "1"
user-agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
x-arr-log-id: "148e19d4-faa1-4854-accd-68950963dac3"
x-arr-ssl: "2048|256|C=GB, S=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA|CN=isdecisions.com"
x-forwarded-for: "185.182.168.24:57334"
x-forwarded-proto: "https"
x-hs-cfworker-source: "hs-cos-cdn-worker"
x-hs-public-host: "[www.myDomain.com]"
x-hs-zone-name: "hscoscdn10.net"
x-hubspot-trust-forwarded-for: "true"
x-original-url: "/_hcms/_worker/headers"
x-real-ip: "[serverIp]"

```

When visiting [https://www.mydomain.com/en/blog](https://www.mydomain.com/en/blog) I can see the following Request Headers :

x-hs-reason: domain [[www.mydomain.com](http://www.mydomain.com)] does not exist

x-hubspot-correlation-id: 479250b3-8597-49f3-a49a-50bdb42de334

x-hubspot-notfound: true

which means that the x-hs-public-host header is correctly configured right ?

So I don’t know what’s missing here.

---

_[View the full topic](https://community.hubspot.com/t/reverse-proxy-on-iis-server/70391)._
