Host ShinyApp from own (Linux) server and own domain

Viewed 240

I have programmed a Shiny WebApp and would now like to deploy it myself. So far I have made it available at shinyapps.io. For this I have already set up my own server (a virtual machine running on a datacenter), installed CentOS Server and bought my own domain. Likewise, I have already installed ShinyServer.

However, now I do not really know how to proceed. In forums I have found various possibilities, which I can not really understand. Therefore I would like to ask here, which possibility is the simplest to provide a Shiny WebApp from the own server under the own domain. This should work without additional costs.

Thanks in advance!

1 Answers

I you have already installed Shinyserver on the CentOs -instance i would advise you to

  1. test if the installation is running properly by checking if the sample app’s are running:
  • go to a webbrowser on your local machine http://"your-server-address":3838/sample-apps

  • the test apps should be displayed here , if not:

$ sudo systemctl start shiny-server
  • check again
  1. copy (scp or clone from git ) your App.R onto the server and put it inside a subdirectory of the /srv/shiny-server/ - directory

  2. check if the app is displayed and works properly (often dependencies are missing) on the server port 3838:

http://"your-server-address":3838/myApp

4: read the

Related