Apache Virtual Hosts

  Рет қаралды 99,767

Nerd on the Street

Nerd on the Street

4 жыл бұрын

If you want to host multiple websites or web apps on the same web server, you're probably going to be using virtual hosts. Today, we're looking at the configuration syntax and behavior of virtual hosts in Apache httpd.
---
Join the Nerd Club: nerdclub.nots.co
Official website: nerdonthestreet.com
Discord server: discord.nots.co
Subreddit: / nerdonthestreet
Facebook page: / nerdonthestreet
Twitter feed: / nots_network
E-Mail: jacob@nerdonthestreet.com
Server management services: managedby.nots.co

Пікірлер: 125
@Corporatizm
@Corporatizm 3 жыл бұрын
Oh my god thank you. Every second passing watching your video you clarified real world issues I had with servers due to lack of knowledge of VHosts. Got yourself a new subscriber for sure.
@Aryan21able
@Aryan21able Жыл бұрын
HE IS A DEMIGOD of teaching and clearing things without repeating things.
@mattlopezdias
@mattlopezdias Ай бұрын
I learnt so much, I've been running servers for years and yet I still learnt so much. Thank you.
@davidfally5449
@davidfally5449 2 жыл бұрын
As an entry level System-Engineer: This was the most useful video for figuring out why my VirtualHosts overruled others. I never was told before, that they are loaded in order!
@Borsting89
@Borsting89 4 жыл бұрын
This is the video for you if you want to start learning apache! Well done, Jacob!
@FranciscoPower
@FranciscoPower 2 жыл бұрын
Finally a video about this topic that explains everything clearly! A long video, but with no wasted time at all, very well done. Thank you!
@MikeL9143
@MikeL9143 3 жыл бұрын
You made sense of virtual hosts for me more in 40mins than the Apache2 Definitive Guide did after several reads over several years - good stuff.
@udayarpandey3937
@udayarpandey3937 3 жыл бұрын
Such a clear voice. Amazing tutorial.
@101redbaron
@101redbaron 2 жыл бұрын
Outstanding! Love the errors in the video - some of them I'm calling them out, others I'm scratching my head till you explain what happened. Keep up the good work doode!
@shashankmarri1056
@shashankmarri1056 2 жыл бұрын
This is one brilliant comprehensive video on Virtual Hosts. I was looking for such knowledge from more than 5 years. This a perfect video. Thank you very very very very much.
@Pyxelles
@Pyxelles 3 жыл бұрын
Thank you so much for the clear explanation on virtual hosts and the two types. I now have a clear understanding of what virtual hosting is all about. This is what a good tutorial looks like. As a Linux sys admin student this will help me with my project. Keep up the good work. I've subbed!
@michalroesler
@michalroesler 9 ай бұрын
I think I'm watching this tutorial for the fifth time this year. So much knowledge and good vibes from you. Thanks.
@ramikilany9279
@ramikilany9279 4 жыл бұрын
Very best ever video talking about Apache web server, keep up the good work.
@santonopoulou
@santonopoulou 3 ай бұрын
Extremely thorough, well planned, and well presented video. Great work!
@tilla455
@tilla455 2 жыл бұрын
Great video! Explains everything clearly! Thank you for taking the time to make this video
@FrankZambaras
@FrankZambaras 3 жыл бұрын
Nice work as always, Jacob! Thanks for the thorough explanation.
@ansh1ta
@ansh1ta 4 жыл бұрын
Nice video. Everything explained in a simple manner. Very nice
@arnaldoyuri1
@arnaldoyuri1 3 жыл бұрын
Excellent tutorial Jacob!!! Thanks for sharing.
@masterwill2183
@masterwill2183 3 жыл бұрын
You should make a tutorial with Virtual Host with SSL (cerbot), thanks.
@CakestheCheese
@CakestheCheese 4 жыл бұрын
Another great vid jacob! It's exactly what I needed. I would love to see a tutorial on reverse proxies with Apache2 if you're planning on doing one!
@ramikilany9279
@ramikilany9279 4 жыл бұрын
yes if could be and how we can convert a http to https other than using Let's Encrypt servers.
@supernovapr0391
@supernovapr0391 2 жыл бұрын
Thanks mate, You described it so well that I watched you doing it in Linux and then configured myself in windows.
@QBelly
@QBelly 3 жыл бұрын
You're an amazing speaker. And thanks for this.
@richardroach45
@richardroach45 3 жыл бұрын
Nice video - looking forward to the SSL version.
@ramirez368
@ramirez368 2 жыл бұрын
wow Jacob a lot of information and very specific......very good tutorial man!!!!!
@rakeshpk4991
@rakeshpk4991 3 жыл бұрын
Very good explanation. Thank you very much. Expecting more.
@jeffdesouzadev2500
@jeffdesouzadev2500 Жыл бұрын
Holy moley! Thank you so much for making this! This really helped me implement multitenancy at my new job!!
@andrew121410
@andrew121410 Жыл бұрын
I’m so glad I’ve found this. Thank you
@rokfam
@rokfam 2 жыл бұрын
So comprehensive. Thank you so much.
@1000left
@1000left Жыл бұрын
EXCELLENT explanation!!!! Lately I've been using Nginx but even though they have a very similar structure, I feel like Apache2 is much easier!!!! Thank you again!!!
@DHClapp
@DHClapp 4 жыл бұрын
This was so terrific.
@blmaa6330
@blmaa6330 3 жыл бұрын
Pretty clarifiying a lot! Will there will be a lot more Apache2 Tutorials? Would be so cool, since never so that good explaining.
@taherr1341
@taherr1341 3 жыл бұрын
This is awesome. You are the best.
@LizzyCarlMain
@LizzyCarlMain 3 жыл бұрын
thank you for this video. It is very helpful
@francisfernando4605
@francisfernando4605 3 жыл бұрын
Great tutorial. Thank you so much 🙏
@brandonlozano8114
@brandonlozano8114 3 жыл бұрын
honestly, a really good tutorial thank you very much!!!
@marcin6386
@marcin6386 2 жыл бұрын
That was solid. Thank you.
@HellhoundDieselCrew
@HellhoundDieselCrew 3 жыл бұрын
Excellent! Thank you! SUBSCRIBED
@bevedel
@bevedel 3 жыл бұрын
Thank you so much. it helped me to understand the stuff better.
@pndungu1
@pndungu1 Жыл бұрын
Amazing video. Guilty as charged on copy and pasting staff from you :) it's now very clear. thanks men
@davirezendemota
@davirezendemota Жыл бұрын
Nice content dude!
@greenwavemonster
@greenwavemonster 2 жыл бұрын
wow, thanks alot for this awesome video!!
@philmennenoh5946
@philmennenoh5946 7 ай бұрын
Thank you for your time.
@rico7772007
@rico7772007 4 жыл бұрын
I have to say , its a really good explanation of th apache server, thanks for that . Great work. As the previos comment , If you could explain reverse proxy on Apache in your own word ,it wuold be great. Specially ho to setup Next-cloud and this calendar issue on reverse proxy.
@juliocclub6069
@juliocclub6069 Жыл бұрын
I should have seen this video first. Many thanks! ! !
@bowenfang5420
@bowenfang5420 2 жыл бұрын
Excellent communication skills
@Winedineandrhyme
@Winedineandrhyme 3 жыл бұрын
what operating system are you using? looks so neat!!
@jancatalinnicoara485
@jancatalinnicoara485 2 жыл бұрын
very good tutorial...:) Nerd you are the one . No.1. Thanks a lot...:)
@sidthetech7623
@sidthetech7623 Жыл бұрын
This saved my ass and totally clarified Apache2 VH confs lol... Thanks! You earned a sub!
@omidsoleimani3817
@omidsoleimani3817 2 жыл бұрын
Amazing tutorial
@avinamatya3892
@avinamatya3892 2 жыл бұрын
thank you crystal clear
@harrisngwenya4120
@harrisngwenya4120 3 жыл бұрын
Thanks for this video bro, I am still new to digital ocean and I was wondering if you have done a tutorial on how to point a domain to a digital ocean droplet?
@undergroundnews_dk
@undergroundnews_dk 4 жыл бұрын
Nice guide ;) maybe the next video will include ssl and proxy to maybe a rocket chat or Jetsi-meet anywal well done guide
@FelipeSGomes
@FelipeSGomes Ай бұрын
Thank you. It was very useful.
@MillionairesClub2023
@MillionairesClub2023 2 жыл бұрын
So it looks for domainname/url of server during ssl handshake 1st packet.The field webserver/load balancer check to find which cert to respond with(when it host multiple webserver) is SNI-Subject name identifier.
@andrepiotrowski5668
@andrepiotrowski5668 3 жыл бұрын
Thanks a lot!
@kurniaramadhan1174
@kurniaramadhan1174 4 жыл бұрын
Nice video, wait for mail server tutorial 🙂
@NimaqAlizadeh
@NimaqAlizadeh Жыл бұрын
Thank you so much. 🌹🌹🌹
@MarcoAurelio-sv2tk
@MarcoAurelio-sv2tk 4 ай бұрын
Awesome explanation. Thank you for existing
@wozzyb3804
@wozzyb3804 2 жыл бұрын
Thank you for this video :D WELL Explained ;)
@theGrit_music
@theGrit_music 2 жыл бұрын
Brilliant thank you :)
@arashghasemi610
@arashghasemi610 3 жыл бұрын
very good tutorial
@ravivyas6190
@ravivyas6190 3 жыл бұрын
awesome broooooo
@bretonr
@bretonr Жыл бұрын
OMG! Thank you sm!!!! :)
@-jamiestorch-4562
@-jamiestorch-4562 4 жыл бұрын
Hi,great channel btw.I have a question if u can help.I have been pentesting various routers by way of changing the lan settings for dns to point to an attacking computer on the network. Do you know if dnschef still works in cooking requests.Im getting the safebrowsing from google and the browsers,chrome and firefox refuse to connect.Ive seen alot of these dns change attacks are taking place.
@linuxpc4me555
@linuxpc4me555 2 жыл бұрын
great video! explains and wipes all my confusions... will you be amending this to include https?
@karthiKeyan-lr9jx
@karthiKeyan-lr9jx 2 жыл бұрын
good job
@dolapojohnsonn
@dolapojohnsonn Жыл бұрын
You're the best!!
@vikassinha9515
@vikassinha9515 Жыл бұрын
Very useful 👍
@neonomad673
@neonomad673 3 жыл бұрын
hi :) I'm french and this is the 1st tutorial where I actually learned and comprehend sth about virtualhost. So Thank you very much. I have difficulties with ssl certificates. Do you have a tuto?
@AtifShafiinheritance
@AtifShafiinheritance 2 жыл бұрын
amazing
@zaidnaeem5177
@zaidnaeem5177 3 жыл бұрын
Well Explained...
@midnightmythos
@midnightmythos Жыл бұрын
If this video ever goes away I'll never be able to set up a website again at this point lol
@NerdOnTheStreet
@NerdOnTheStreet Жыл бұрын
I've had videos that I had to keep referencing too, lol.
@tejasdevgekar
@tejasdevgekar Жыл бұрын
thanks a ton
@gullitlevia787
@gullitlevia787 2 ай бұрын
Great video. Can you please confirm what Linux, version and download site you ran on this demo?
@mohamedyoussef8835
@mohamedyoussef8835 2 жыл бұрын
Awesome tutorial +++++++++++++++++++++++++++++ Thank You
@franciscog.4210
@franciscog.4210 2 жыл бұрын
Hi Jacob, thank for this video, I have 2 pcs, pc1 has apache and some virtual hosts, when I call all those sites on pc1 works perfect, but pc2 only can see the default site, why the pc2 can't see all the virtual sites? what is the correct url that i must type on pc2?
@MayankSinghParmar
@MayankSinghParmar Жыл бұрын
Good video
@guruprasadhmathivanan4040
@guruprasadhmathivanan4040 Жыл бұрын
Please make a video on how to load balance in tomcat using apache in windows cmd
@ioannisandreadakis9067
@ioannisandreadakis9067 3 жыл бұрын
What would the config files look like if u didn't have a domain and you just had a vps ip address ?
@alakanandas6358
@alakanandas6358 Жыл бұрын
Consider this scenario, " You are configuring virtualhost directive both in main configuration file (apache2.conf) and in default virtualhost file (000-default.conf ), and suppose ip:port combination of the request is not matching any of the virtualhost directive (both in default virtualhost file and in the main server configuration. Then what will be request response?
@cdeepiitbombay919
@cdeepiitbombay919 Жыл бұрын
how to tell apache to serve files from some additional folder along with document root
@lawalola8542
@lawalola8542 10 ай бұрын
i think you explain things quite well, what if you want to display make a single link to display a different page for each user based on the email parameter from the link, that is, i sent a link from my local expose and i want it to display a particular page for those using yahoo and another page for those using gmail and so on? GREAT VIDEO BY THE WAY
@NerdOnTheStreet
@NerdOnTheStreet 10 ай бұрын
What you're describing isn't possible via web server configuration alone. Your web server has no way to know what the email address is of someone clicking through a link in their email (certainly no reliable way.) It would be more feasible to script out how you're sending the emails-- you'd have to send a different version of the email to people using each email provider, with each version pointing to the desired page.
@MR-vj8dn
@MR-vj8dn 2 жыл бұрын
Yes this was helpful. Thank you for sharing. Considering subscribing. Please do not edit out future errors made by you like in this video. I learn from your mistakes too.
@asharneyaz7
@asharneyaz7 7 ай бұрын
This was extremely helpful. The reasoning behind everything was explained beautifully. Could you also do apache with https? I have been trying that but simply could get it working. It works on server locally but when I try to surf the website from the another vm(client vm), the website never shows up on the browser. Ps: I have made custom vmnet for server and client vm for https demonstration. Any help or guidance would be much appreciated.
@rossgeography
@rossgeography 3 жыл бұрын
very useful video - very similar to nginx (apache prob the inspiration)
@rossgeography
@rossgeography 3 жыл бұрын
nice on-purpose 'mistakes' mark of a true teacher ;)
@RavikumarMittal
@RavikumarMittal 3 жыл бұрын
very nice video, please share video on https and ssl
@MerlasPaul
@MerlasPaul 2 ай бұрын
Yeah all good and dandy. Can you make a tutorial if we do not have any domains ? with the exact same thing but instead of subdomains it should be ip address but different folders for each path xD ? is it possible ?
@alexdalton5963
@alexdalton5963 3 жыл бұрын
I’m battling with virtual hosts. If I put the document root as /var/www/html/abc (abc the directory) when I type the domain name of abc it’s not working. Must I have the directory as /var/www/abc. If I type the web address then /abc I get to the page but that’s annoying bigger issue is 3 virtual hosts and all mixed till I added / after domain. I’m trying to get 4 application servers working for educational purpose
@herbervonsant5125
@herbervonsant5125 4 күн бұрын
so, theres no need to touch the resolv.conf file an rename your machine "/etc/hosts/"change hostname?
@ipv4subnet628
@ipv4subnet628 2 жыл бұрын
Nice video but I wish you explained a little bit more about how to place everything into a live environment.
@hadeseye2297
@hadeseye2297 2 ай бұрын
8:43 etc stands for et cetera mate. ;) I just had to point that out.
@diptikulkarni4990
@diptikulkarni4990 Жыл бұрын
what if i want to access files from folder which is not there on apache installation drive. Means apache installation is on SSD and ond folder (since huge) is on another 1tb hard disk OS is Ubuntu. Pls guide. I have tried creating alias folder in httpd.config file.
@georgeclam1756
@georgeclam1756 Жыл бұрын
Would love a video on ssl or proxies/load balancing. This video was great
@hs53
@hs53 Жыл бұрын
I would really appreciate if you would make a video on reverse proxy where apache receive traffic on 443 (Secure) and then send http (not secure) on another port and then the seocnd server respond back to apache and apache respond back to the client.
@NerdOnTheStreet
@NerdOnTheStreet Жыл бұрын
I'm pretty sure I've covered this within a Nextcloud or Jitsi video before, it's just a few lines of configuration. I'll keep it in mind in case I ever do more Apache videos.
@mithubopensourcelab482
@mithubopensourcelab482 4 жыл бұрын
Please make a video on privately onsite vpn server....
@edgar-mmxxiii
@edgar-mmxxiii 2 жыл бұрын
I did exactly what you said but it is still showing the default page.
@auroresimlife3567
@auroresimlife3567 3 жыл бұрын
Can I make a virtual host public using wamp ? Sorry I'm new to this ^^
@RobertCastilloC
@RobertCastilloC 2 жыл бұрын
what's this distro he's using ?
@Ramikelesli
@Ramikelesli 2 жыл бұрын
if I have 1 IP (No domain) and multiple Laravel application ,How we can do it?
@nunyabidness9895
@nunyabidness9895 7 ай бұрын
9:00 15:00 Very helpful! Thanks.
Install and Configure Apache on Ubuntu Server | Set Up Virtual Host
31:46
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 230 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 84 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 10 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 7 МЛН
How to Look For Virtual Hosts // How To Bug Bounty
12:53
NahamSec
Рет қаралды 13 М.
Owncast - Self-Hosted Streaming & Chat
36:50
Nerd on the Street
Рет қаралды 4,7 М.
Basics of Apache Webserver
32:43
Amit Nepal
Рет қаралды 164 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 696 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 254 М.
Mettre en place un serveur Web (20/28) : Apache
40:04
Grafikart.fr
Рет қаралды 190 М.
Apache Web Server and HTTPS on Linux
46:38
Steven Gordon
Рет қаралды 61 М.
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4,4 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 6 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 35 МЛН