Go/Golang Share Instance

When you have more than one Go/Golang application and would like to share the same Amazon EC2 instance but unable to have both listening at port 80. It can be done by having Apache proxying it to them.

I’m going to assume you have Apache and Go/Golang installed. If not you can read it here

Ubuntu Install Apache
Ubuntu Install Go/Golang

Let’s say “one.go” is an application running with a subdomain “one.oofnivek.com” and “two.go” is another application running at “two.oofnivek.com”. Both of these subdomains are…