to the people using a vps, small security note: disable the root login on ssh, and use a custom made user to login through ssh, and use su to gain root access
@TheDeliriumMan3 жыл бұрын
Just disable passwords at all and use public keys...
@zvezdan9563 жыл бұрын
and also change the sshd listen port to a random port other than 22
@lindenbasket3 жыл бұрын
Brad Traversy did a helpful video about configuring ssh stuff on his digitalocean droplet. Watch if you like your hand held (like me) kzbin.info/www/bejne/noK6g6Nje8mHpsU
@thejonte Жыл бұрын
@@zvezdan956 that's snake oil
@thejonte Жыл бұрын
just remember a root login and a sudo user are the same kind of risk.
@igeljaeger5 жыл бұрын
“fourteen eighty eight might sound a little scary to some of you guys, but it isn’t really that bad” - Luke Smith, Obertruppenführer of the Free Software division
@nomattr4 жыл бұрын
The best part is that's actually shitty when you can find VPS for $2/month
@solinvictus20184 жыл бұрын
FREI software
@F00dCHAiN3 жыл бұрын
National GNUism
@jarro27783 жыл бұрын
@@nomattr i mean he uses vultr now, so he realised that 14 was a Bit much
@vinkelitz2 жыл бұрын
lukas schmidt
@ithraldharzul68875 жыл бұрын
>current year >talking about Apache and not nginx nginx is the way to go, especially for static sites where performance is significantly better. Also the serverblocks config is nicer than Apache.
@bitnatures5 жыл бұрын
> talking about nginx and not quark or caddy
@ithraldharzul68875 жыл бұрын
@@bitnatures >mfw >talking about caddy and ignoring it's inferior performance to nginx >talking about quark and ignoring the lack of reverse proxy features available in nginx nginx is king, for now, when you want to host 4 web pages/apps on one server with each site existing in it's own VM to sandbox server side processes, and open up other ports so applications can use APIs because Google bad so you replace it. Caddy might be technically capable of doing all that, but compared to nginx it serves responses at a much lower volume which is a problem when we are talking about applications chattering away especially if I decide to be cool and let friends de-google themselves with my services. Quark is fine if you literally just want to publish information, I want to interact with mine. It isn't bloat if you are using it.
@ulissemini54925 жыл бұрын
@@ithraldharzul6887 caddy is easier and comes with https out of the box, nginx is more powerful but harder to use IMO they are both great and you should pick the one that fits you better.
@moeaj15363 жыл бұрын
apache is often used as a back-end server ... nginx is often used as a reverse proxy aka load balancer
@goddamnkids753 жыл бұрын
Who are you quoting?
@zcalex76605 жыл бұрын
I went the selfhosting route to learn. Fun to learn how to configure it all. :)
@Samk11065 жыл бұрын
Old man yells at cloud
@iDawd5 жыл бұрын
I just checked your channel yesterday to see if you had any videos on hosting. This video couldn't have come at a better time - thanks Luke!
@victorsimon65174 жыл бұрын
If you need a landy page, web hosting, domains, virtual store for your products, web templates and more. office.builderall.com/en/franchise/share/1302827/?sd=default_ilm
@ishashka2 жыл бұрын
Another thing to keep in mind when self hosting is that you'll need a static IP address (or a dynamic DNS), which many ISPs only offer for companies (at least here in Poland, maybe in the US it's different). And some ISPs even block port 80 or outright prohibit hosting websites on residential addresses in their ToS.
@WreeperXD Жыл бұрын
in Romania in most cases everyone only have port 25 and other e-mail ports blocked Germany's Vodafone doesn't seem to be strict on open ports, basically you are only restricted from opening port 12345 and 8080...
@desktorp5 жыл бұрын
The only reason self-hosting is not the obvious solution for everyone is because the ISP's hold the static IPs hostage. The average person's upload speed is more than adequate to handle the average person's web site. The hosting industry is fluffed up by a form of artificial scarcity.
@MT-zv3ie5 жыл бұрын
Spend $40 once for a raspberry pi, keep it on for maybe $5/year. Works fine for my sites
@kofteistkofte5 жыл бұрын
I'm using VPSes for a long time both for my personal site, my pet-projects and sites of my customers. And it's far better and secure than hosting services as long as you don't do something stupid.
@logangraham29564 жыл бұрын
i'm self hosted all the way. but one thing i wish i had was the vps's interface. i'd love to be able to spin up virtual machines from a web-browser interface like. that really the only feature of vps i'd love to have.
@NicholasMaietta4 жыл бұрын
Another option for those doing quite a bit of hosting, is something called a Dedicated Cloud. I just moved from cPanel/WHM do CapRover and containerized all of my websites and apps. $60/mo from Vultr is what i chose. I run about 300 websites.Their dedicated cloud includes a cloud-firewall and DDoS protection, static IPs. I also pay $20/mo for Stackpath that also offers CDN, DNS and smart DNS routing. I run everything from a phone system, Gitlab, docker registry and a lot of websites all in one place. I will add another and load balance sometime in the next few days. It's not for everyone, but it certainly was the next best option for me.
@TonyRule4 жыл бұрын
10:35 Personal peeve of mine. That's not bandwidth. It's a monthly traffic allowance. Bandwidth is transfer RATE.
@jons24473 жыл бұрын
Hello, Mr. Smith; Thank you for this. I had been looking into just this subject so I appreciate this info. Have a GREAT day, Neighbor!
@awlex-j9k5 жыл бұрын
I also recommend heroku as a free hoster for simple stuff. They have a simple cli imo, many supported programming languages and nice add ons for databases. And they don't shut down your webpage or worker after the free 550h per month btw
@victorsimon65174 жыл бұрын
If you need a landy page, web hosting, domains, virtual store for your products, web templates and more. office.builderall.com/en/franchise/share/1302827/?sd=default_ilm
@martiananomaly9 ай бұрын
Ah well this comment didn't age well
@Saab11005 жыл бұрын
Great Video Luke, looking forward to see how you configure a VPS.
@omegaz23985 жыл бұрын
For some use cases, self-hosting is better than VPS. If you want to host applications for yourself such as owncloud, you want to use databases such as mysql, mongodb, redis etc --- self-hosting is way cheaper. Mongodb on VPS with 2 physical core (4 threads) and 2 GB memory will easily cost you several hundred dollars.
@shooksnc5 жыл бұрын
I am thanking about a Cluster Hat for Raspberry Pi Zeros . I also like Raspberry Pi Compute Module. The 200-pin DDR2 SODIMM form factor. ( This Well Not Be On All Day)
@Jombo15 жыл бұрын
Thank you Luke! I learned a thing.
@catcatcatcatcatcatcatcatcatca5 жыл бұрын
bandwith limitations? \*laughs in EU\*
@Tudorgeable5 жыл бұрын
@@MortonSeinfeld classic libtard*, they are everywhere not just EU
@fuseteam5 жыл бұрын
laughs in suriname oh wait you didn't mean caps orz
@ionezgb5 жыл бұрын
@@MortonSeinfeld Government regulates your activity - BAD, corporation regulates your activity - FREE MARKET BRUHH. Classic libtard.
@wytrzeszczux5 жыл бұрын
Well having server in your basement have one more benefit cause computers produce lot of heat you can use it in winter or for warming water. But down side is you need have static public addres what is not always a case
@wytrzeszczux5 жыл бұрын
@Sup'Man yep but it's extra cost and so on, but yeah you can get one
@wytrzeszczux5 жыл бұрын
@Sup'Man I need to renew my knowledge but as i last time read rules, only way to do so is be institution or be Radio Armaturer. And maybe Poland is somehow different on that field.
@thurston045 жыл бұрын
I'd love the community's opinion on biz.nf
@OtisDeLarge5 жыл бұрын
Very informative. Thanks for sharing.
@geoslay534 жыл бұрын
SSL is free on most self hosting and shared hosting too.
@fuseteam5 жыл бұрын
there's neocities aswell but they charge for connecting a domain name asdf
@abdulwahabfanar85885 жыл бұрын
Can you explain bandwidth more please? Also does it get effected by ads displayed on your website ?
@MrMangkokoo5 жыл бұрын
do you change your appartement again?
@luisd1015 жыл бұрын
check digital ocean server offer is great with lower cost.
@xdevs234 жыл бұрын
Take a look at Caddy, it's a great web server. (use v2)
@MrNoBSgiven3 жыл бұрын
Good points on VPS vs the shared hosting. Many hosts' "unlimited" plans are as unlimited as cell phone "unlimited" plans. Total b.s.. However, with multiple domains there is an issue of email servers. This is where black box hosting shine IMHO. For $8 w month I can host "unlimited" domans and have a nice user interface to manage email accounts/aliases. Running, stting up and maintenance of websites themselves is not really a big deal and can be automated with scrips or programs like Ansible with providers like DigitalOcean or Linode for $5-10 a month. How deal with email hosting?
@SemNikit3 жыл бұрын
useful info
@mos6581com5 жыл бұрын
Christ, which domain provider charges for subdomains? I pay under £30/m for my server and perhaps £40 each year for my domains, it's totally worth it for me.
@AexisRai5 жыл бұрын
8:15 "down from the domain name to everything else" Free domain name? I didn't finish the video but this is suddenly very interesting.
@wackbyte4 жыл бұрын
yeah, you can get .tk domains for free
@piotrtalarczyk89875 жыл бұрын
Luke, what you think about: 1) host static website on AWS S3 2) use AWS Lambda to make some non static content on static site?
@LukeSmithxyz5 жыл бұрын
The A in AWS stands for Amazon. Don't use that ever.
@dagda8255 жыл бұрын
No time to self host. I'm working 60 hours a week serving up data.
@pawlack4 жыл бұрын
Sorry for spamming - but there is one more advantage to VPS - scalability. Let's say your website is getting very popular. Most of VPS let's you add resources like diskspace, ram etc. easly, without loosing data and with almost no downtime. If you host your website on raspberry from your home then you can have problem - invest in actual server station or move all content to vps anyway.
@MrSplonger4 жыл бұрын
What about how your VPS host technically could access all of the data on your virtual server?
@nofate00073 жыл бұрын
Which is why you should make sure it is legit.
@joel-dorne5 жыл бұрын
Luke what mod key are you using to scroll on your keyboard as that model doesn't have a dedicated scroll button for the touch point.
@geoslay534 жыл бұрын
And VPS hosting is easier to hack. Where Shared and self hosting it is lock for root access.
@victorsimon65174 жыл бұрын
If you need a landy page, web hosting, domains, virtual store for your products, web templates and more. office.builderall.com/en/franchise/share/1302827/?sd=default_ilm
@Viken435 жыл бұрын
Currently using green geeks, not sure it’s vps though
@ionezgb5 жыл бұрын
Why not using AWS Lambda? They have 1 million request per month free and another 1 million is 0.20$. For most people's personal website you would probably never pay anything.
@TejaswiBitra5 жыл бұрын
What is your opinion on cloud hosting say like AWS, Google cloud, digitalocean etc..?
@DrewShotwell4 жыл бұрын
Late to the party -- one question: do you recommend managed or unmanaged VPS?
@filipposkarailanidis5 жыл бұрын
I need to choose CentOS, Debian or Ubuntu for a VPS, what would you suggest? I'm familiar with debian/ubuntu but it looks like CentOS is the prefered distro for those cases. Or does it not matter in the end?
@skatcat7435 жыл бұрын
can you do a quick guide to how you setup a vps?
@georgebraun52195 жыл бұрын
Hey Luke what do you think is the best ThinkPad that can be Libre booted for the price, I wanna buy one in the 70 to 130 US dollar range (not sure what that would equal in my native currency).
@SwattiClears5 жыл бұрын
Gotta love AWS
@ltxr99735 жыл бұрын
well traditional hosts should at least offer php and an sqldb. But yeah, of course having your own server is better. You'll have more responsibility too though, make sure to be safe!
@michaelns98875 жыл бұрын
What about Heroku, Luke?
@chrisbohn37465 жыл бұрын
As far as I can tell all the content on your websites is static. Since that is the case, for your use-case is there a reason you need a VPS over a free static hosts such as gitlab-pages? Or do you prefer the independence / flexibility a VPS offers?
@smokingiscool5995 жыл бұрын
He said he has multiple websites, maybe some of them need some server side code he can't implement on the free hosts.
@nateedwards13135 жыл бұрын
I thought https was already useless? It's good to show in search tho.
@bobsbrain_5 жыл бұрын
my hosting service has lets encrypt built in. and it also auto renews
@korpf99425 жыл бұрын
how about 1984.is?
@zyghom5 жыл бұрын
how about using tripod for your camera?
@TdTSimonBE5 жыл бұрын
Only EU servers, but Hetzner has an even better plan for only €4.90/month, and almost the same one for €2.49.
@sebastianheese8035 жыл бұрын
can you share a link? can't find such offerings on hetzner.de
@TdTSimonBE5 жыл бұрын
Sure: www.hetzner.com/cloud#pricing
@sebastianheese8035 жыл бұрын
thx :-) @@TdTSimonBE
@bobdylan59265 жыл бұрын
Hey luke, My parents are looking to build a website for their storage business. It needs to interact with the API known as SiteLink. I want to be able to recommend them something but am unable. What companies do you suggest for building websites for other big/medium size companies like my parents storage business. Also what should they be looking to pay?
@ddmozz2 жыл бұрын
IMHO, don't use Nearly Free Speech. They should be called Barely Free Speech. Check out their blog entry from January 2021 and you'll understand what I mean.
@kednog87395 жыл бұрын
General Kenobi!
@raphi333HD5 жыл бұрын
that vps on namecheap is really expensive lol i am paying 21€/month for 8 cores, 16gb ram, 800gb ssd and unlimited bandwith
@mentalmarvin5 жыл бұрын
Where bro?
@LemonPledgeGameplay5 жыл бұрын
Is that a unicomp keyboard?
@OfficiaFoxDeltaGames5 жыл бұрын
I just use ipage, $1.99 a month plus domain, the. Use Magix Web Design premium.
@しげお-i1l5 жыл бұрын
404 Thumb Meme not found
@AlexSeibz5 жыл бұрын
Still rocking Void?
@Vogel425 жыл бұрын
how about Heroku?
@DGDG00000005 жыл бұрын
Guys, look at contabo.com vps.
@victorsimon65174 жыл бұрын
If you need a landy page, web hosting, domains, virtual store for your products, web templates and more. office.builderall.com/en/franchise/share/1302827/?sd=default_ilm
@shooksnc5 жыл бұрын
15 $ is a always on electric bill..
@skatcat7435 жыл бұрын
So we have a domain and a server now what?
@spessspess46165 жыл бұрын
oh daddy!
@proatgaimz4 жыл бұрын
Thank you daddy.
@jorgetraceurbr5 жыл бұрын
what about aws?
@JakezChannel3 жыл бұрын
Cloud hosting?
@bbseal61745 жыл бұрын
a luke video sans memes
@shooksnc5 жыл бұрын
Don't forget to ask for free stuff for advertising.
@teuphil5 жыл бұрын
use acme.sh for not bloated letsencrypt experience
@davidr36265 жыл бұрын
What about AWS Luke?
@davidr36265 жыл бұрын
@Sup'Man for sure no, you saved me thnks
@elinars56384 жыл бұрын
Imagine not using GeoCities
@gustoxt11935 жыл бұрын
I use digital ocean's $5 vps, is that a good deal?
@micolashcage5 жыл бұрын
It's not bad but I prefer Vultr for their performance and they have cheaper servers which are good for testing and messing around.
@joealtona25324 жыл бұрын
@@micolashcage Vultr lost my VM. Meaning they don't know how to do online business.
@str0g5 жыл бұрын
U have sume static in ur mic
@adonaijunior34595 жыл бұрын
Linode anyone?
@342wru89fsdfdssdf54e5 жыл бұрын
Just get a google blogspot page XD god damn weirdos with their linux. Just use windows or better yet MacOS haha
@sharqueeshajohnalaneesha20195 жыл бұрын
I used to have an old late 2000's Macbook with OS X Snow Leopard running on it. The cool thing about Snow Leopard is that t came with Apache pre-installed on it, along with a domain name system that Apple got going for you, they called it "Web Sharing," it was pretty cool. Nowadays, apparently Apache is still pre-installed on Macs, but they don't have the domain name system, and they took it out of the GUI so now you've got to use the terminal if you want to get anything done with it. Fucking Apple man, fucking Apple.
@md.imamulislam75 жыл бұрын
Goddamn weirdos with their Heston Blumenthal and Gordon Ramsay. Just eat McDonald shit haha.
@randyscott33864 жыл бұрын
Totally useless information . When I host parties for swingers to come over I'm sure as hell not going to post anything about it on any web site what I want is more information on food and drinks and music . The guy didn't talk at all about anything like that .
@shrek65285 жыл бұрын
I like your beard
@HentaiNat4 жыл бұрын
Arch Boomer doesn't know how to count
@MrPlaythroughhd5 жыл бұрын
Only the poor make their own website.
@Anhonime5 жыл бұрын
websites are a bloat
@MastarCheef13375 жыл бұрын
@@Anhonime your bloat.
@_d0ser Жыл бұрын
I don't know. $14.88 sounds really good to me right about now.