How to host several domains on one single VPS...
In this mini guide I will describe how I did to create my own hosting for one main domain and many sub domains using Go as the engine. Only a fraction of these code is Go code. Most coding is done by the "holy trinity" (HTML, CSS and JS).
The total cost of this all web sites and this hosting is about $10 each month. And I did it with the only purpose to learn. I have only basic experience of web development, but some SQL experience. Enjoy, shake your head or tell me how I can do better!
To create a static website using Go, you may look at goWebStatic