Host Multiple Golang Sites on One IP and Serve Depending on Domain Request?
<p>I'm running a VPS with Ubuntu installed. How can I use the same VPS (same IP) to serve multiple Golang websites without specifying the port (xxx.xxx.xxx.xxx:8084) in the url?</p>

<p>For example, <strong>Golang app 1 is listening on port 8084</strong> and <strong>Golang app 2 is listening on port 8060</strong>. I want Golang app 1 to be served when someone requests from domain <code>example1.com</code> and Golang app 2 to be served when someone requests from domain <code>example2.com</code>.</p>

<p>I'm sure you can do this with Nginx but I haven't been able to figure out how.</p>