I followed the guide as written in https://grafana.com/docs/tutorials/iis/ and am unable to get it to resolve correctly. I am getting a 404 error despite anything I’ve tried.
- Windows Server 2019
- IIS 10.0
- Latest EXE install of Grafana
- Can successfully authenticate to localhost instance
Here’s a list of what I’ve done so far
- Made a copy of sample.ini and set it to custom.ini
- Updated the domain to match the server. The server is structured like
http://graf.mycompany.org
so I’ve got it set to
domain = app.mycompany.org
- http_port was changed to
http_port = 8081
- root_url is
root_url = %(protocol)s://%(domain)s/grafana
- I’ve set
server_from_sub_path = true
- Changed
statis_root_path = public
- I can successfully access the local Grafana install when I log onto the server itself at
http://localhost:8081/grafana
- I installed the URL Rewrite tool for IIS
- Configured the inbound rule per the instructions in the tutorial
- But when I try to access
http://graf.mycompany.org/grafana
I get a 404 Not Found
I’m hoping someone can give me some ideas on where to go next. I’ve even done a iisreset
after adding the rewrite rule to see if that would help.