From the course: Deploying Django Apps: Make Your Site Go Live
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Securing your server
From the course: Deploying Django Apps: Make Your Site Go Live
Securing your server
- Now that we've created a new droplet on Digital Ocean, they have sent us an email containing the login credentials for that droplet. So this is the information that we need in order to log into our new server. So, if you go to your email and check out what we have from Digital Ocean, the key pieces of information that we need are this IP-address and the password. So let's go ahead and copy first the IP-address, move over to our terminal, and we're going to type out SSH root @ and then this IP-address. Go ahead and hit enter on that, so that's saying that we want to log in to our server via the root user at the following IP-address, it's going to ask for the password. So we'll move back to our email, copy the password that Digital Ocean has sent us, and then in our terminal we'll paste that and hit enter. Once we've done that, we will be able to now log into the server. It's going to ask for the current password and say that we need to reset it, so go ahead and paste the same…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Digital Ocean account2m 1s
-
(Locked)
Creating a droplet4m 11s
-
(Locked)
Securing your server4m 50s
-
(Locked)
Postgres setup7m 46s
-
Transferring code to the server5m 40s
-
(Locked)
Configuring settings files3m 56s
-
(Locked)
Testing deployment5m 3s
-
Gunicorn testing6m 46s
-
(Locked)
NGINX setup5m 24s
-
(Locked)
Connecting your URL4m 3s
-
-
-
-
-