I know some applications run on companies' internal networks with URLS like "https:/statsd/", so I was wondering how to go about doing this. I was thinking maybe I would use a reverse proxy like Nginx to proxy all urls that match a particular regex to the correct server, but I don't really know where I would even put that reverse proxy to begin with.
Can someone point me to some resources where I can learn more about this stuff? Thanks so much!!
Best How To :
You would need to run your own DNS server on the intranet with rules for these names. For implementing the server, you may wish to look into Zonefiles with BIND.
How to configure machines on your network to use this DNS server is a matter of how network settings for machines on the intranet are configured. If using DHCP, this is a matter of configuring the intranet's DHCP server to offer that as the DNS server. If using some other kind of out-of-band configuration (such as hardcoded settings when imaging machines), you would need to add a rule in whatever mechanism you're using to specify the network settings to configure the network interface to use your internal DNS server.
As for handling HTTP requests for those names, that's a job for a reverse proxy like Nginx, as you said. In the DNS server's rules, you would want to point any names meant to be handled by the reverse proxy server to the reverse proxy server, obviously.
(As a simpler-to-instantiate-but-harder-to-manage alternative to setting up a DNS server, you could come up with a way to add addresses for all the names you want to each machine's hosts file).