Deploy Node.js App To Digital Ocean Server

22
8



In this video we will go step by step to deploy a Node.js application to a Digital Ocean server/droplet. Here is a rundown of what we will do…

1. Setup a Digital Ocean droplet (Use link below for $10 free)
2. Add SSH Keys Using PuttyGen
3. Connect using Putty, create new user
4. Secure server by disabling root
5. Install Node.js and Git
6. Clone Node/Express app from Git
7. Install PM2 to run app as a process
8. Run app on port 80
9. Connect a domain name to our app

$10 FREE SIGNUP LINK:

Blog Post –

SUPPORT THIS CHANNEL WITH A CUP OF COFFEE PER MONTH:

ONE TIME DONATIONS:

Nguồn: https://canhosafira.com.vn

Xem thêm bài viết khác: https://canhosafira.com.vn/cong-nghe

22 COMMENTS

  1. Hey Brad – do you know if it is possible to run a MERN app on DigitalOcean that pulls from a MongoDB Atlas database?
    Followed one of your guides for deploying MERN to Heroku. Looking to move to DO. Would love your thoughts on this.

  2. I kind of confuse about disabling the root authorization, is it because lets say prevent people to not gonna do something like "brute forcing" our login? And the disabling password part, is it disabling the re-asking confirmation password for something we do with sudo even though we already an administrator?

    By the way, its nice tutorial, Brad. Thank you for being our one of the best online teacher out there.

  3. Amazing. I liked the way you provided apart from the topic, you provided more information and demonstrated what would be the result if certain things were not done. That's what is called: TEACHING. I do love your videos, but this one is simply the best I've watched.

    I would appreciate to have more topics around deployment on digital Ocean especially for databases in the case of a mobile App hosted on any store.

    Thanks again.

  4. Blog URL is not working. Please update it asap, thanks for the video I really learn a lot of things from this.

LEAVE A REPLY

Please enter your comment!
Please enter your name here