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

Ғылым және технология

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

Пікірлер: 45

  • @vanclough915
    @vanclough9157 ай бұрын

    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 Жыл бұрын

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

  • @nathaniel1469
    @nathaniel14692 ай бұрын

    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!

  • @hitthetraget8233
    @hitthetraget82334 ай бұрын

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

  • @FDplan
    @FDplan5 ай бұрын

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

  • @mefesto07
    @mefesto07 Жыл бұрын

    Love your videos, thanks!

  • @KeepItTechie

    @KeepItTechie

    Жыл бұрын

    Glad you like them! Thanks!

  • @todl.2478
    @todl.247823 күн бұрын

    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

    23 күн бұрын

    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.

  • @analogymoment
    @analogymomentАй бұрын

    Thanks for this video

  • @KeepItTechie

    @KeepItTechie

    Ай бұрын

    No problem!

  • @user-jt6mq3oj5u
    @user-jt6mq3oj5u8 ай бұрын

    Thanks 👍

  • @marcus_b1
    @marcus_b1 Жыл бұрын

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

  • @KeepItTechie

    @KeepItTechie

    Жыл бұрын

    Thanks bro!

  • @morenteria2988
    @morenteria2988 Жыл бұрын

    Thanks Josh!

  • @KeepItTechie

    @KeepItTechie

    Жыл бұрын

    You bet!

  • @manueljordan317
    @manueljordan3177 ай бұрын

    Thanks for this video ...

  • @KeepItTechie

    @KeepItTechie

    7 ай бұрын

    Most welcome

  • @joshdwyer95
    @joshdwyer955 ай бұрын

    bro i really appericate. r explantion skills u the man

  • @KeepItTechie

    @KeepItTechie

    4 ай бұрын

    Thanks bro!

  • @Itsmecalvin54
    @Itsmecalvin5418 күн бұрын

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

  • @vaishu.b9217
    @vaishu.b92172 ай бұрын

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

  • @prashlovessamosa
    @prashlovessamosa Жыл бұрын

    Thank you

  • @KeepItTechie

    @KeepItTechie

    Жыл бұрын

    You're welcome

  • @djlotussutol
    @djlotussutol3 ай бұрын

    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

    3 ай бұрын

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

  • @djlotussutol

    @djlotussutol

    3 ай бұрын

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

  • @user-mc2rv1vu1d
    @user-mc2rv1vu1d6 ай бұрын

    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

  • @coco-qw7fe
    @coco-qw7fe3 ай бұрын

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

  • @juansebastianriosubeda4693
    @juansebastianriosubeda46935 ай бұрын

    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?

  • @johnny5941
    @johnny59416 ай бұрын

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

  • @ntonso6795
    @ntonso67956 ай бұрын

    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

  • @ntonso6795
    @ntonso67957 ай бұрын

    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 ай бұрын

    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
    @johnny59416 ай бұрын

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

  • @KeepItTechie

    @KeepItTechie

    6 ай бұрын

    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.

  • @Gentamaquay
    @Gentamaquay9 ай бұрын

    Would this tutorial also work for RHEL

  • @KeepItTechie

    @KeepItTechie

    9 ай бұрын

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

  • @Gentamaquay

    @Gentamaquay

    9 ай бұрын

    @@KeepItTechie thank you brother

  • @KeepItTechie

    @KeepItTechie

    9 ай бұрын

    Hey man, I forgot that I covered it in this video for RHEL: kzread.info/dash/bejne/noiFytqQkqaXhc4.html

  • @ezeigbodavid.o.4120
    @ezeigbodavid.o.41204 ай бұрын

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

  • @KeepItTechie

    @KeepItTechie

    4 ай бұрын

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

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

Келесі