Tuesday 9 May 2017

Single Page WebApp Server with Subdomain Support

I would generally use serve to host my webapps but I want to be able to host my apps on a subdomain of my main domain. I am currently hosting my server on Digital Ocean.

I know I can use virtual hosts with apache and nginx but I would like a simple way to host different servers without the need for them. (I may want to host game servers also using subdomains instead of ports)

I have read that I can set up SRV records which redirect a port to a subdomain but I couldn't figure out how to do this correctly..

The basics of what I want is say I host one app on port 8010, another on 8020 etc. and each can be accessed via info.example.com, chat.example.com etc.



via Timmo

No comments:

Post a Comment