Apache Web Server Setup on Ubuntu 22.04 (with SSL)

Поділитися
Вставка
  • Опубліковано 6 жов 2024

КОМЕНТАРІ • 59

  • @redwoodclimber
    @redwoodclimber 8 місяців тому +13

    Been messing around with self-hosting my own website recently and this video is what made me actually switch to a VPS. I read a bunch on how unsecure it is to run a site from your home network and realized there is literally no reason to when VPS are so easily accessible nowadays.

  • @vladsendrix
    @vladsendrix Рік тому +10

    Great informative video, what i would suggest would be to also include a cronjob that renews the certificate, as suggested by the letsencrypt folks, since some viewers might be confused as to why their certificate expires.

  • @iGarrettWM
    @iGarrettWM 9 днів тому

    I really dislike video tutorials but this was very well explained and straight to the point. Thank you 👍

  • @ranaakhil
    @ranaakhil Рік тому +12

    While I agree nginx is far superior. It doesn't make this tutorial useless for people who wanna learn something anyway.
    Thanks for the video

  • @alex-fddz
    @alex-fddz 5 місяців тому

    Thank you so much for this !!! I was able to deploy a website for a project from my school's research lab and everyone is so happy with it :)

  • @Marcelog09
    @Marcelog09 6 місяців тому +1

    This video saved me a lot, especially when it comes to SSL/HTTPS. Thank you very much!

  • @boobbbers
    @boobbbers 8 місяців тому +6

    I've been frustrated for the past 3 days trying to get my site up and having it run with HTTPS. I followed this tutorial step by step and it finally worked! I can't thank you enough, and thanks for also make a text based post so the next time I have to deal with this I can go straight to the resources I need!

  • @SlickNickTexas
    @SlickNickTexas 5 місяців тому

    This was an awesome tutorial. I've been fighting to install XAMPP and came across this video as an alternative which worked out G-R-E-A-T!
    Thank you!

  • @tibfox
    @tibfox Рік тому +5

    Thanks a lot for this tutorial - you helped me to understand this mysterious thing I never touched :D

  • @ricardolopes8907
    @ricardolopes8907 5 місяців тому

    Tks, it was a lifesaver! Your explanation was clear and easy to follow, and it helped me out big time. 👍

  • @tarekbari3309
    @tarekbari3309 Рік тому +2

    Way better than the 1000 videos out there! Btw is there any way to ask you question like in discord? I need help to push my React app to aws and i get stuck when it says "Starting server....."

  • @dankierson
    @dankierson Рік тому +9

    What about setting VirtualHost config for port 443 ?
    What about redirecting HTTP requests to HTTPS ?
    What about domain aliases ?
    I think you dodged a few things in your headlong rush 🙄.
    *EDIT*
    It appears from other sources that the Certbot package does the edits to the various Apache2 config files. So there's no need for user intervention.
    However, these days Certbot want users to go to their site and follow the instructions for the user's web server and OS. In the case of Apache2 and Ubuntu, certbot comes as a *snap* package.

  • @davidalvarezsantes9158
    @davidalvarezsantes9158 Рік тому +4

    Great video, awesome!! Another video with Nginx? Pleaseeee

    • @dankierson
      @dankierson Рік тому

      RU avoiding the request, sir? 😊

  • @oleksandrpotapenko6745
    @oleksandrpotapenko6745 Рік тому +4

    Why do we need to edit /etc/hostname and /etc/hosts? There's a great command: sudo hostnamectl set-hostname

    • @dllsmartphone3214
      @dllsmartphone3214 Рік тому +2

      also worth to mention that some distros might revert that change. use hostnamectl if your distro offers it.

  • @thebasicmaterialsproject
    @thebasicmaterialsproject Рік тому

    I think i can get my website back online by following this tutorial thanks!

  • @revadan
    @revadan 9 місяців тому

    thanks! SSL works with my RPI server.

  • @Punchmememe
    @Punchmememe 3 місяці тому

    Yha helped me allot man

  • @fernandomartinez9261
    @fernandomartinez9261 Рік тому

    I think a good video tutorial in general but I was able to find the way to save some $$ with the ssl certificate but it need to be renew i think approximately every 6 months.

  • @manafsliman3734
    @manafsliman3734 9 місяців тому

    Thank you very much sir. You are simply great.

  • @thebasicmaterialsproject
    @thebasicmaterialsproject Рік тому

    awesome but i have to advise your particular web hosting company might have there own peculiar ways of doing things.

  • @kevinlegobrickmaster8015
    @kevinlegobrickmaster8015 Рік тому

    Dropped a sub thanks for the tutorial will be really helpful for my networking project

  • @doughayden2806
    @doughayden2806 3 місяці тому

    thank you- great job

  • @taiwbi
    @taiwbi Рік тому +1

    I only watched this to learn how can I setup an SSL on my apache website and I think you just did the fast way not the complete way :\

  • @mr.domingues
    @mr.domingues 5 місяців тому

    Any advice for only being able to access the website via the IP address and not URL?

  • @kevin.bolanoa
    @kevin.bolanoa 6 місяців тому

    Very thankful!!!!!!!

  • @masterofreality230
    @masterofreality230 Рік тому +1

    thats not too bad, thanks

  • @anonysmooth648
    @anonysmooth648 7 місяців тому

    THE BEST!

  • @ValeFero
    @ValeFero Рік тому +1

    You went to linode. How to set up a website without it?

    • @leonstone3443
      @leonstone3443 Рік тому +2

      right i dont wanna pay if i dont have to

  • @airsoftnews
    @airsoftnews Рік тому

    big big big thank you

  • @ACR-Rambo
    @ACR-Rambo 5 місяців тому

    Hi I followed your video but already had apache installed. My site was working before and I was just trying to add the certificates and now my site is not working :( can you help please?

  • @2poor4nick
    @2poor4nick Рік тому

    Very good tutorial, thanks!

  • @onewane3512
    @onewane3512 Рік тому

    Thanks

  • @reseauxgreen4329
    @reseauxgreen4329 Рік тому

    thanks!

  • @serpiko6469
    @serpiko6469 4 місяці тому

    does this work for dynamic sites as well

  • @laszlob3683
    @laszlob3683 3 місяці тому

    Why use linode if linux is free?

  • @RoyDeLaEspriella
    @RoyDeLaEspriella 8 місяців тому

    Can add a file to the public html?

  • @thebasicmaterialsproject
    @thebasicmaterialsproject Рік тому

    hallelujah !

  • @manjilunnobi
    @manjilunnobi 9 місяців тому

    Manual add domin VPS dengarous...

  • @sigmiami
    @sigmiami Місяць тому

    really blurry screen recording

  • @aaradhyachavan-q3y
    @aaradhyachavan-q3y Рік тому

    what if i don't have a domain can i place my public ip in the domain name ??

    • @pastaya
      @pastaya 9 місяців тому

      just ask someone for a subdomain

    • @aaradhyachavan-q3y
      @aaradhyachavan-q3y 8 місяців тому

      @@pastaya explain me pls

  • @dllsmartphone3214
    @dllsmartphone3214 Рік тому +2

    oh please... apache just if there is a very rare or stupid reason like a big a** rewrite rule that nobody can convert to nginx, otherwise nginx! do not use apache!!!

  • @AlashAls
    @AlashAls Рік тому

    VPS or VPN?

    • @TechHut
      @TechHut  Рік тому +1

      Did I accidently say VPN?

    • @jordang8730
      @jordang8730 Рік тому +3

      @@TechHut i heard VPN too. But it's barely noticeable. Thanks for the video! I actually need to set up a new service on Linode

    • @webrevolution.
      @webrevolution. Рік тому

      @@jordang8730 Tbh I don't really think he just mispronounced it or just had a moment of confusion. I am pretty sure he struggles to know which one is which.
      The reason for my thoughts is that he didn't just say VPN over VPS in the video, but also named one of the video chapters is named "VPN and Domain".
      If you just make a mistake while you are reading a script for the video it's not such an issue, but if you also legit take the care to type that same thing as the chapter's title it's no longer just a mistake while reading a script. To me it means he actually does think that's the right word to use.
      Most of the times when people don't remember the difference from 2 different acronyms is because they don't really know what the letters stand for. So, just to clarify, VPN is Virtual Private Network. While VPS is Virtual Private Server.
      They both have the "Virtual Private" part in common, but one is a server which you can pretty much use as you wish and the other one is an encrypted private network among devices which aren't necessarily part of the same LAN and allows them to communicate without the need of exiting the private network into "open Internet".

  • @gunzblazin6860
    @gunzblazin6860 Рік тому +1

    first

  • @androidastucesactu1361
    @androidastucesactu1361 5 місяців тому

    Too much add

  • @yahirdev
    @yahirdev 10 місяців тому

    Thank you so much

  • @salexkorsan8790
    @salexkorsan8790 3 місяці тому

    Brotther i want to add Wild card SSL

  • @Tchatarero36
    @Tchatarero36 Рік тому

    Thanks