Set Up a Basic Website! nginx, Certbot & secure login
Pls don’t hack me even though I gave you my root password!
https://www.epik.com/?affid=we2ro7sa6 Get a cheap and reliable domain name with Epik.
https://www.vultr.com/?ref=8384069-6G Get a VPS with Vultr and host a website or server for anything else.
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.
WEBSITE: https://lukesmith.xyz 🌐❓🔎
DONATE: https://lukesmith.xyz/donate 💰😎👌💯
OR affiliate links to things l use:
https://www.epik.com/?affid=we2ro7sa6 Get a cheap and reliable domain name with Epik.
https://www.vultr.com/?ref=8384069-6G Get a VPS and host a website or server for anything else.
https://brave.com/luk005 Get the Brave browser.
https://lbry.tv/$/invite/@Luke View my videos on LBRY.
https://www.coinbase.com/join/smith_5to1 Get crypto-rich on Coinbase.
by Luke Smith
linux web server
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.
wait…. For "secure login" you meant "secure ssh login" didnt you…
I was here for "Secure login to the website"
Ummm did you just expose your home public IP address in this video??
Wow look how much more expensive the VPS prices are since then.
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.
Why using root instead of user account
That will increase the chance of security issues
Do you still use Epik after the data breach last year?
After spending hours trying to get this to work:
Vultr has a folder called sshd_config.d inside a file called 50-cloud-init.conf with PasswordAuthentication yes.
Vultr didn't even mention it on their tutorial page.
Thank you, Luke. It took me a while to do this, yet I am up and running with a few errors to be fixed. Most of them were typos. I'm a noob to technical computer stuff at 44.
Fortunately, unfortunately, Chat GPT helped a lot with solving my error logs.
Este "man" la tiene clara. What a brilliant mind. Congrats!
Here at 104,096 views.
Domain name makes me think you read “Industrial Society and Its Future”
I highly DONT recommend Epik. They took my money for the yearly fee just fine, and THEN locked me out of my account saying my Information was wrong. Yeah I put in a fake address, they have no business knowing my real one. How would they know, are they cross checking against the Goverment or something? ('Libertarian' my ass)
So does anyone know a better registrar other than Luke's "highly highly recommended" one?
You convinced me man. I bought a domain but still looking for decent vps. Vultr's lowest option now is $5 a month.
Very helpful thanks much
can you do a video on securing the server with users and groups and other permissions?
Yes, the unicomp
nginx seems to either not load or load my css wrong, is there something I'm missing?
Lol Epik got hacked
Followed your Tutorial last year and it was great. But Epik just got hacked last week and my account info was stolen as well as my credit card info. I just had 2500 dollars worth of charges show up on my account. I am so pissed right now.
This video about epik didn’t age quite so well lol