How to set up Linux server for core 2 web app and make it visible on internet? Part 3 [Music no 3]

How to  publish site with Visual Studio 2017 to Linux server:



  1. Go to VS2017 and hit publish on project:
  2.  Set up debug mode on publish:
  3. Download WINSCP.
  4. Create new folder for your app.
  5. Copy all stuf from publish folder to new create folder on server
  6. In Putty go folder where you have copied your app:

    You should to see

    Hosting environment: Production
    Content root path: /root/Music
    Now listening on: http://localhost:5000

  7. Your site is up and running on server, but it is not visible on internet. Open new Putty

  8. Go to /etc/nginx/sites-available/default. and replace content to:

  9. Run nginx

  10. Your site is visible on the internet under address: :)/

Powered by: Wordpress