Install and Configure Apache on Ubuntu Server | Set Up Virtual Host

Поділитися
Вставка
  • Опубліковано 24 лип 2024
  • What's up, Linux enthusiast!! In this tutorial, we'll walk you through the process of installing and configuring Apache on an Ubuntu Server. We'll cover everything you need to know, from installing Apache to configuring UFW and setting up a virtual host to host multiple websites or applications. Whether you're a beginner or an experienced Linux user, this tutorial will give you the knowledge you need to set up a powerful and flexible web server on your Ubuntu system. Follow along and learn how to harness the power of Apache today!
    Please enjoy the video and if you have any questions, leave a comment down below. My goal is to expand the Linux community.
    Linux Operating System | Beginners Crash Course - 3 Hours
    • Linux Operating System...
    Remember to Like, Share, and Subscribe if you enjoyed the video! Also, if you are interested in more Linux content, please consider becoming a channel member so I can continue to produce great content!
    ✔️RECOMMENDED LINUX BOOKLIST
    -------------------------------
    Linux Pocket Guide: Essential Commands: amzn.to/3xGPvsK
    CompTIA Linux+ Certification All-in-One Exam Guide: Exam XK0-004 amzn.to/3uQ3wmh
    101 Labs - CompTIA Linux+ amzn.to/3vtj7rb
    How Linux Works: What Every Superuser Should Know amzn.to/3vrLkOO
    Linux Bible amzn.to/3rwEkPH
    ✔️SOCIAL NETWORKS
    -------------------------------
    KeepItTechie: keepittechie.com/
    Facebook: / keepittechie
    Twitter: / keepittechie
    Instagram: / keepittechie
    Discord: / discord
    CashApp: cash.app/$KeepItTechie
    Patreon: / keepittechie
    --------------------------------
    #Apache #Ubuntu #VirtualHost #Linux #KeepItTechie
    00:00 Introduction
    00:18 Overview
    00:53 Install Apache
    04:10 Setup UFW Firewall
    10:34 Configure Apache
    26:14 Virtual Host
    30:23 Outro
  • Наука та технологія

КОМЕНТАРІ • 47

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

    Josh, you are a God sent. Most how to videos they rush through, but you have an excellent methodical approach. I'm using your video to help me setup my Ubuntu server that is used to point to my GoDaddy domain name and to add a SSL Certificate. Presently I just have the domain name pointing to a public IP that host my Simple-Help server. Problem is that I can't add a SSL certificate because it's not a web server. God bless you sir
    Van

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

    thank you so much for this video, you were very clear and explored some things other tutorials don't!

  • @nathaniel1469
    @nathaniel1469 3 місяці тому +1

    Man this tutorial was so helpful, I've been looking all over for something like this. You really do a good job of providing enough details to actually understand what's going on and the steps to get there. You don't assume that we know and you take the time to actually explain. Thank you so much. I coded along with you, but one problem I ran into at the end of this video was accessing both of the websites we set up. I was missing the step you mentioned about configuring the hosts file. So instead I only enabled one .conf file and pointed it at the /www directory, then stored both test sites in their own directory there. I was able to access both of them this way. But I would very much love a more detailed video explaining how to set up multiple sites. Thanks man, you rock!

  • @FDplan
    @FDplan 5 місяців тому +1

    😮 That was a very powerful and concise tutorial you have here. This was really helpful to me 👍. Keep it UP!😊

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

    you keep teaching me stuff abt linux servers my dude! love it, keep it up! :)

  • @todl.2478
    @todl.2478 Місяць тому

    Yes, you should have mentioned what you said at the end at the very begining... I did all that for nothing. But it did help me understand it.

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

      Sorry for not explaining this in the beginning but I'm glad it helped you get a undertsanding of it. Everyones network is different and even if I bought domains I would have to open ports which are none standard and it would have confused people even more. I'll do another vid using the cloud which is easier because ISP's make it difficult to host webservers at the house.

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

    Love your videos, thanks!

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

    The tutorial that I needed but didn't know that I needed 😅

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

    Thanks for this video

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

    bro i really appericate. r explantion skills u the man

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

    Thanks Josh!

  • @user-jt6mq3oj5u
    @user-jt6mq3oj5u 8 місяців тому

    Thanks 👍

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

    Thanks for this video ...

  • @vaishu.b9217
    @vaishu.b9217 2 місяці тому +1

    Sir, can I show the output of this to external... Pls tell...

  • @user-mc2rv1vu1d
    @user-mc2rv1vu1d 7 місяців тому

    hi, if I want to config virtual host which folder not in /var/www, Ex: /home/user1/web . I try many time but can not run, pls help to config. Tks

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

    Thanks for this video ❤I still have a doubt about make the ip to domain name , please make the video tutorials about this field .

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

    Followee the video without problem but when I try to check the url in my browser it does not find it, Im using a virtual machine in virtuak box of ubuntu server and my host is windoes I don't know if that affects something?

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

    Thanks for the video.
    This gets me started but I need to install PHP, DB, and figure out how to get wordpress setup too. more searching :)

    • @KeepItTechie
      @KeepItTechie  4 місяці тому +1

      I have a LAMP stack video which can help you complete it. Just search the channel. Glad this help.

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

      @@KeepItTechie A video to think about is the available/enabled files and how to set them up. I ran into a problem.
      I went ubuntu, nginx, mariadb, php, virtual host setup for two domains. Had it all working. Then I did certbot/lets encrypt which made changes to those files and when I watched videos for wordpress it wanted me to manually add stuff to those files too. That is where I broke stuff. lol. starting over and saving certbot till last and hoping that solves the problem. To keep it short it could be a series. Anyways...still digging into your videos and loving them.

  • @johnny5941
    @johnny5941 6 місяців тому

    @5:07 I got
    ERROR: problem running iptables: iptables v1.8.4 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.

  • @coco-qw7fe
    @coco-qw7fe 3 місяці тому

    How do l enable in for the websites we have created to show on the browser??

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

    Thank you

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

    Very nice video, i was wandering if u could just explain why the domain didn't pool out the site immidiately, and the solution through a few commands as well thanks

    • @KeepItTechie
      @KeepItTechie  7 місяців тому +1

      I basically modified my local hosts file "/etc/hosts". Added the ip address and domain name following the format. Every computer has a host file within the os that will be checked first for ip translation before searching any dns servers for the ip address. It will then resolve and go the ip specified in the host file. Thats a quick and dirty answer. I'll make a video on it. Glad I could help and Thanks for watching.

  • @johnny5941
    @johnny5941 6 місяців тому

    Were you using a large monitor in this video and set your screen capture program inside wsl ubuntu window?

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

      Are you interested in how I record? My main system is Arch Linux which is what I record on using OBS. I don't use windows or wsl. I'm capturing the terminal on my main system which is how I'm connected to this VM via SSH. I have a server in my closet running proxmox where I create virtual machines with all the different nodes used for tutorials.

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

    Thank you ones more for your great job.
    I have some serious issues and wish you guide me with some reliable reply.
    1. How can I setup my server to run PHP instead of default html
    2. How can I transfer and update default SQL data on my external hard drive to the new Ubuntu server with compromise it initial functionality
    3. Another best way to transfer you code to the server without passing through GitHub, because I don't want my code hanging out there on someone's db.
    4 Also how to update these code while it signal maintenance mode
    5. Create a backup file that can update record every day
    6. How to fuse multiple hard drive into your server to run remotely as if it were one drive
    Please I will be more than great full if you give me positive feedback that includes making new videos to detail these worries. Thank you very much in advance

  • @macblanelw
    @macblanelw 11 днів тому

    You said 'tack' for 'hyphen' when you were typing that filename. Were you in the Navy?

    • @KeepItTechie
      @KeepItTechie  11 днів тому

      @@macblanelw Not the Navy but the Army. We say it that way too. 😂😂

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

    Would this tutorial also work for RHEL

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

      It uses a different package manager. Ill create another video covering it.

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

      @@KeepItTechie thank you brother

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

      Hey man, I forgot that I covered it in this video for RHEL:
      ua-cam.com/video/lTQhxWbC1Uk/v-deo.html

  • @ezeigbodavid.o.4120
    @ezeigbodavid.o.4120 5 місяців тому

    I followed all the steps but I never get same result like yours

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

      Whats distro and version are you using? Did you open the ports? Check your firewall.

  • @professorblackops-cybersec1168

    PBO going to add extra security ubuntu.com/security/disa-stig

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

      We need to work together on a video covering STIGS on Linux! Thanks bro!