How to configure shiny server so that the top-level domain URL will be the main shiny app?

I've seen lots of shiny server setup instructions, and usually the setup is like so:

Any shiny apps go under /srv/shiny-server/myapp, the resulting apps are available from

How should I set up my server config file and the folder structure so that I can serve a single main app from ? Bonus points if I can also host other shiny apps (not the main one) at


1 Like