Apache Web Server Setup on Ubuntu 22.04 (with SSL)

Поделиться
HTML-код
  • Опубликовано: 9 июл 2024
  • Check out Linode! www.linode.com/techhut $100 - 60 day credit on new Linode accounts for TechHut viewers. Setup your own Apache Server with Linode!
    In this video we go over the process start to finish to set up your very own Apache web server in the cloud. Allowing you to host static web pages and much more!
    📖RESOURCES AND MENTIONS
    www.techhut.tv/how-to-apache-...
    👏SUPPORT TECHHUT
    RUclips MEMBER: bit.ly/members-techhut
    NEWSLETTER: bit.ly/techhut-join
    DONATE PAYPAL: bit.ly/paypal-techhut
    $100 LINODE CREDIT: bit.ly/linode-techhut
    🏆FOLLOW TECHHUT
    JOIN DISCORD: bit.ly/discord-techhut
    TWITTER: bit.ly/twitter-techhut
    MASTODON: bit.ly/mastodon-techhut
    INSTAGRAM: bit.ly/personal-insta
    📷MY GEAR (PAID LINKS)
    ASUS ROG M16: amzn.to/3t8Xgpo
    DeepCool MATREXX 40: amzn.to/3q3K8Qn
    AMD 3700x: amzn.to/31AKX9N
    ASRock B550M: amzn.to/3qeymTv
    G.Skill Trident Z Neo: amzn.to/3JRbeSF
    Radeon RX 580: amzn.to/3n7Ax9g
    Cannon M50: amzn.to/3xLfhuA
    Lights: amzn.to/3OdeWHU
    00:00 - Introduction
    00:36 - VPN and Domain
    02:39 - Initial Setup
    04:35 - Users and Reboot
    06:57 - Apache Setup
    08:42 - Firewall
    09:50 - Website Setup
    13:16 - index.html
    14:26 - Secure with SSL
  • НаукаНаука

Комментарии • 58

  • @redwoodclimber
    @redwoodclimber 5 месяцев назад +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.

  • @boobbbers
    @boobbbers 5 месяцев назад +3

    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!

  • @tibfox
    @tibfox Год назад +4

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

  • @alex-fddz
    @alex-fddz 2 месяца назад

    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 :)

  • @LPGamesStudio
    @LPGamesStudio 3 месяца назад

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

  • @SlickNickTexas
    @SlickNickTexas 2 месяца назад

    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!

  • @vladsendrix
    @vladsendrix Год назад +9

    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.

  • @Punchmememe
    @Punchmememe 25 дней назад

    Yha helped me allot man

  • @ricardolopes8907
    @ricardolopes8907 2 месяца назад

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

  • @kevinlegobrickmaster8015
    @kevinlegobrickmaster8015 Год назад

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

  • @ranaakhil
    @ranaakhil Год назад +11

    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

  • @doughayden2806
    @doughayden2806 22 дня назад

    thank you- great job

  • @manafsliman3734
    @manafsliman3734 6 месяцев назад

    Thank you very much sir. You are simply great.

  • @revadan
    @revadan 6 месяцев назад

    thanks! SSL works with my RPI server.

  • @airsoftnews
    @airsoftnews Год назад

    big big big thank you

  • @user-fx5uo7uz7p
    @user-fx5uo7uz7p 11 месяцев назад

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

  • @kevin.bolanoa
    @kevin.bolanoa 3 месяца назад

    Very thankful!!!!!!!

  • @2poor4nick
    @2poor4nick Год назад

    Very good tutorial, thanks!

  • @reseauxgreen4329
    @reseauxgreen4329 11 месяцев назад

    thanks!

  • @masterofreality230
    @masterofreality230 Год назад +1

    thats not too bad, thanks

  • @tarekbari3309
    @tarekbari3309 9 месяцев назад +1

    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....."

  • @anonysmooth648
    @anonysmooth648 4 месяца назад

    THE BEST!

  • @onewane3512
    @onewane3512 9 месяцев назад

    Thanks

  • @mr.domingues
    @mr.domingues 2 месяца назад

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

  • @davidalvarezsantes9158
    @davidalvarezsantes9158 Год назад +3

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

    • @dankierson
      @dankierson Год назад

      RU avoiding the request, sir? 😊

  • @serpiko6469
    @serpiko6469 Месяц назад

    does this work for dynamic sites as well

  • @ACR-Rambo
    @ACR-Rambo 2 месяца назад

    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?

  • @oleksandrpotapenko6745
    @oleksandrpotapenko6745 Год назад +3

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

    • @dllsmartphone3214
      @dllsmartphone3214 Год назад +1

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

  • @dankierson
    @dankierson Год назад +8

    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.

  • @user-fx5uo7uz7p
    @user-fx5uo7uz7p 11 месяцев назад

    hallelujah !

  • @user-kr2nt6ju1y
    @user-kr2nt6ju1y 5 месяцев назад

    Can add a file to the public html?

  • @user-fx5uo7uz7p
    @user-fx5uo7uz7p 11 месяцев назад

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

  • @fernandomartinez9261
    @fernandomartinez9261 11 месяцев назад

    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.

  • @yahirdev
    @yahirdev 7 месяцев назад

    Thank you so much

  • @ValeFero
    @ValeFero 11 месяцев назад +1

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

    • @leonstone3443
      @leonstone3443 10 месяцев назад +2

      right i dont wanna pay if i dont have to

  • @user-cw6ws5sp7e
    @user-cw6ws5sp7e 10 месяцев назад

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

    • @pastaya
      @pastaya 6 месяцев назад

      just ask someone for a subdomain

    • @user-cw6ws5sp7e
      @user-cw6ws5sp7e 5 месяцев назад

      @@pastaya explain me pls

  • @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 :\

  • @laszlob3683
    @laszlob3683 15 дней назад

    Why use linode if linux is free?

  • @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".

  • @manjilunnobi
    @manjilunnobi 6 месяцев назад

    Manual add domin VPS dengarous...

  • @gunzblazin6860
    @gunzblazin6860 Год назад +1

    first

  • @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!!!

  • @androidastucesactu1361
    @androidastucesactu1361 2 месяца назад

    Too much add

  • @salexkorsan8790
    @salexkorsan8790 21 день назад

    Brotther i want to add Wild card SSL

  • @Tchatarero36
    @Tchatarero36 Год назад

    Thanks