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

  Рет қаралды 16,050

KeepItTechie

KeepItTechie

Күн бұрын

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
@vanclough915 7 ай бұрын
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
@nathaniel1469
@nathaniel1469 2 ай бұрын
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!
@enkiimuto1041
@enkiimuto1041 11 ай бұрын
thank you so much for this video, you were very clear and explored some things other tutorials don't!
@FDplan
@FDplan 4 ай бұрын
😮 That was a very powerful and concise tutorial you have here. This was really helpful to me 👍. Keep it UP!😊
@hitthetraget8233
@hitthetraget8233 3 ай бұрын
you keep teaching me stuff abt linux servers my dude! love it, keep it up! :)
@todl.2478
@todl.2478 14 күн бұрын
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 14 күн бұрын
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!
@KeepItTechie
@KeepItTechie Жыл бұрын
Glad you like them! Thanks!
@user-jt6mq3oj5u
@user-jt6mq3oj5u 7 ай бұрын
Thanks 👍
@marcus_b1
@marcus_b1 Жыл бұрын
The tutorial that I needed but didn't know that I needed 😅
@KeepItTechie
@KeepItTechie Жыл бұрын
Thanks bro!
@Itsmecalvin54
@Itsmecalvin54 9 күн бұрын
Thanks for this video ❤I still have a doubt about make the ip to domain name , please make the video tutorials about this field .
@analogymoment
@analogymoment Ай бұрын
Thanks for this video
@KeepItTechie
@KeepItTechie Ай бұрын
No problem!
@morenteria2988
@morenteria2988 Жыл бұрын
Thanks Josh!
@KeepItTechie
@KeepItTechie Жыл бұрын
You bet!
@manueljordan317
@manueljordan317 6 ай бұрын
Thanks for this video ...
@KeepItTechie
@KeepItTechie 6 ай бұрын
Most welcome
@joshdwyer95
@joshdwyer95 4 ай бұрын
bro i really appericate. r explantion skills u the man
@KeepItTechie
@KeepItTechie 4 ай бұрын
Thanks bro!
@vaishu.b9217
@vaishu.b9217 2 ай бұрын
Sir, can I show the output of this to external... Pls tell...
@prashlovessamosa
@prashlovessamosa Жыл бұрын
Thank you
@KeepItTechie
@KeepItTechie Жыл бұрын
You're welcome
@djlotussutol
@djlotussutol 3 ай бұрын
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.
@ntonso6795
@ntonso6795 6 ай бұрын
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
@coco-qw7fe
@coco-qw7fe 2 ай бұрын
How do l enable in for the websites we have created to show on the browser??
@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?
@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.
@user-mc2rv1vu1d
@user-mc2rv1vu1d 6 ай бұрын
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
@ntonso6795
@ntonso6795 6 ай бұрын
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 6 ай бұрын
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 5 ай бұрын
Were you using a large monitor in this video and set your screen capture program inside wsl ubuntu window?
@KeepItTechie
@KeepItTechie 5 ай бұрын
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
@Gentamaquay 9 ай бұрын
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: kzfaq.info/get/bejne/orqBm9uIx6mVhZ8.html
@ezeigbodavid.o.4120
@ezeigbodavid.o.4120 4 ай бұрын
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!
Complete Guide to Managing UFW Firewall on Ubuntu 22.04 Server
22:19
Apache Virtual Hosts
40:20
Nerd on the Street
Рет қаралды 99 М.
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 7 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 12 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 20 МЛН
Ubuntu Server: Getting started with a Linux Server
1:09:33
Byte My Pi
Рет қаралды 517 М.
Apache Server | Setup Virtual Host on Ubuntu Server 20.04
22:22
KeepItTechie
Рет қаралды 53 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,4 МЛН
The NGINX Crash Course
50:53
Laith Academy
Рет қаралды 475 М.
Linux Security - Securing Apache2
23:43
HackerSploit
Рет қаралды 58 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 255 М.
💥10 Things You MUST DO After Installing Ubuntu Server 22.04 LTS
18:20
SkillsBuild Training
Рет қаралды 11 М.
Apache Web Server Setup on Ubuntu 22.04 (with SSL)
16:28
TechHut
Рет қаралды 97 М.
How to Set Up a Linux Home Server from Start to Finish!
1:04:59
hoff._world
Рет қаралды 27 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 303 М.
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2,4 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,7 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН