Need help with setting up Confluence and IIS Reverse Proxy
Asked by NRG Kiosk:

Hello,

I'm trying to set up Confluence with IIS Reverse Proxy. I followed the guide at <https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html> completely. However, I'm still running into some issues.

My custom URL (confluence.mycompany.com) is working, and I can log in. However, when I log in, the dashboard items such as "All Updates" section doesn't load. When I click on the "..." next to "Create" button on the top menu, a dialog opens and says "user.session.timed.out". When I look at the network tab of my Chrome, I see many 404 pages. Below are a few examples of those 404 requests.

* /rest/create-dialog/1.0/spaces?promotedSpacesLimit=10\&otherSpacesLimit=1000
* /rest/webResources/1.0/resources
* /rest/mywork/latest/status/notification/count
* /rest/quickreload/latest/0?since=1559161699606
* /rest/analytics/1.0/publish/bulk

I've made following changes:

* Updated server.xml and added the proxy name
* Updated web.config according to the guide above where it references Confluence 6.0 or higher
* Added "-Dorg.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true" according to the guide
* I've also applied all of the IIS changes to the output caching, request filtering, and URL rewrite as it was indicated on the guide.

I'm not sure what else I'm missing. I've been at this for several hours now. Any help is greatly appreciated.


Answers:
author: Brant Schroeder
body: Please check that you followed everything here: <https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html>

If you follow all of these steps it should work for you. What you are describing sounds like the url is not setup properly either in Confluence (Base URL) or in the configuration of the server.xml or on the IIS proxy.

comments: author: NRG Kiosk
body: Brant,

Thanks for the reply.

I've been going through that guide several times.

I have Base URL and server.xml set up correctly. I'm sending screen shots below. I also think IIS is set up correctly. Otherwise, I wouldn't think I would be able to log in. Right now, I'm able to log in and go to the setting areas, and etc. I simply cannot create any pages and my dashboard doesn't load; I assume because of those few 404 errors in my browser's network tab.

![base_url.png](https://community.atlassian.com/t5/image/serverpage/image-id/56146iF3418598CD69830D/image-size/large?v=v2&px=999 "base_url.png")![create_new_page_error.png](https://community.atlassian.com/t5/image/serverpage/image-id/56145iB8A2E66DFAEF44C4/image-size/large?v=v2&px=999 "create_new_page_error.png")![dashboard_error_on_login.png](https://community.atlassian.com/t5/image/serverpage/image-id/56147iBCF09B20FF39CD45/image-size/large?v=v2&px=999 "dashboard_error_on_login.png")![server_xml.png](https://community.atlassian.com/t5/image/serverpage/image-id/56148i39E9755CFA53FCAB/image-size/large?v=v2&px=999 "server_xml.png")


author: Brant Schroeder
body: From what you shared the issue looks like it is in IIS and that the proxy is not setup properly. Can you double check all of your IIS settings.


author: NRG Kiosk
body: Here's my web.config file. Let me know if you see something.

![web_config.png](https://community.atlassian.com/t5/image/serverpage/image-id/56403i1034DAFCFCB60630/image-size/large?v=v2&px=999 "web_config.png")


Tags: atlassian-support

confluence-server

server