Set Up a Basic Website! nginx, Certbot & secure login

preview_player
Показать описание
Pls don't hack me even though I gave you my root password!

In a series of based slightly-off ffmpeg video cuts, I set up a website with all the essentials! After getting a domain, I set up a VPS and direct my domain to it. I then set a secure way to log into with with an ssh key pair. We then install nginx (Engine-X) and set up a super basic web page, and lastly added HTTPS/SSL using Certbot (setting this to try to auto-update every month with a cronjob).

You can easily add more sites to nginx which read different filesystem locations and expect different domains or subdomains.

OR affiliate links to things l use:
Рекомендации по теме
Комментарии
Автор

Uhh Luke, you edited ssh_config, and not sshd_config,
ssh_config is for the OpenSSH client, sshd is for the daemon.

You didn't disable Pass auth, PAM, etc. because it was simply the wrong config file.

entrixiii
Автор

After buying my own domain yesterday, I couldn't figure it out. Thank Mr. Luke

skiz
Автор

Luke, about TTL. Its not "time to live [lye-vve]" as in the amount of time before something is live. Its "time to live [liv]" as in the amount of time that dns record has to live, before it expires. That's why a dns record with a shorter TTL will update sooner, because the old one expired faster.

grasonbrennan
Автор

For those wondering, Luke's desktop background is Thomas Cole's 1834 painting 'The Pastoral State'.

It is the second of a five painting epic named 'The Course of Empire', good stuff.

voievod
Автор

Like flexes showing password and configured wrong file.

dana_tebdot
Автор

Petition for luke to make that domain his "meme" site.

kunt
Автор

Thanks Luke, I wasted many hours yesterday trying to setup a website on vultr and failed. A lot of tutorials on YouTube, the person speaks slow and says a lot of useless stuff. Your tutorials are fast, compact and informative.

freddief
Автор

Nice demonstration on why to never reveal any passwords!

dmsalomon
Автор

Luke I'm pretty sure you messed up. To disabled password authentication, you have to modify /etc/ssh/sshd_config not /etc/ssh/ssh_config.
I tried to connect to the VPS, and I was given a password prompt (although the password wasn't correct (either because you changed the password yourself, or someone already accessed the VPS and changed the password.))

nilsirl
Автор

Thank you for this video. Took me lots of hours reading tutorials, YouTube videos and other material to make this work. Your video made it very clear and got me going on Vultr quick.

I spent 60+ hours on piecing this together (obviously new to this), finally got it working.

Thanks again

terrytas
Автор

I identify as an Apache web server with the default configuration provided by Debian's non graphical installation setup.

notukhp
Автор

A couple of times I've left a comment mocking you, like a lot of other people. And I know that you know that we don't mean it. But I just wanted to say thank you.
You've taught me a lot. You are genuinely my favourive Linux Youtuber. Yesterday I finished setting up my minimal distro and just now I've set up a VPM according to this tutorial.
I would still be banging rock at a Windows computer if it wasn't for you. Thank you Luke c:

StrangeIndeed
Автор

This was extremely helpful, I host on aws because I want to learn about their products but they want you to purchase a load balancer to configure an ssl certificate. Knowing about certbot really helps

makeme
Автор

Thanks for this tutorial man! The written guides I found were all bunk and wanted to change unnecessary stuff in the nginx config. Big thanks for showing us how to do the ssh stuff as well! don't worry, I followed the updated instructions in the pins.

cartanfan-youtube
Автор

Thanks for spending your time educating others and for pushing curiosity, freedom and the desire to learn forward. Even if sometimes some people might not deserve it, believe that there's much more people that are thankful for your tutorials and your opinions. Please continue...

TheMrBoal
Автор

Awesome vid Luke. Short and to the point and all command line! I've had a domain for a while and a VPS running minecraft for the kids! But I ain't no peasant, time to get moving on the webpage and https. Thanks!

kevinc
Автор

The most intense, and USEFUL 20 minute video I've earned in years.
This boomers head is impressed ;) nice work Good sir

Kludgedean
Автор

Yesterday after watching your video about getting a website, I said to myself "I don't want to be web peasant, hope he shows us how to set 1 up" and Boom! Today you did. Thank you!

Macleod
Автор

Yo - I just want to say thank you for helping me getting a domain name + website + https ssl certificate, got it all setup in one sitting !
(last time I did that was 10 years ago so I was rusty as hell, so thanks again for that step-by-step video man! )

felixgraphx
Автор

I just realized luke introduced me to dev stuff. Im still a noob but im having alot of fun just fiddling around stuff. I owe you for life lol.

kez