Installation of Apache Web Server on Windows 10 & Hosting a Website

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone in this video we are going to install Apache web server and Apache web server Apache HTTP server is a server that delivers web content over the internet and using Apache web server we can deploy or we can host our websites on those computers and as a Basics what happens when we open our computer we turn on our computer we launch some web browser like Internet Explorer and then we type in any website and then this request goes to the web servers so these web browsers are client applications and so using those client application our request is sent to a web server and on web server these are programs which run as a background service and as a result of our request those web server softwares returned back something to our web browser and we can see that information there and in this video we are going to install Apache HTTP web server on Windows 10 machine now to show you the steps for installation of Apache in our Windows 10 based machine I have this Windows 10 machine in my virtual virtual setup so this Windows 10 virtual machine and first we need to download that relevant software that is Apache server so for that we are going to launch this browser and in this browser we will write Apache and Apache and maybe download for Windows we can write this like Windows and then we press enter and now you can see we have this website first one first link you can see HTTP D dot Apache dot org so we click there and when we click there depending on our internet speed you can see says that one of the line is says that Apache HTTP for Microsoft Windows available from a number of third-party vendors so we are going to click this and further you can read also this like use the link below to download the Apache HTTP server from our download servers and then we can also verify its Integrity but anyway for this demonstration we are going to download this Apache from these links here and when we click on those links we can have multiple options there and we are going to select this Apache launch so we click there and when we click there we should land on their 11th page and on this page we can see here we have Apache 2.4.5 for window wind 64. so we have to click on this link this is a zip folder we are going to click here and then we have to be very much careful these are some advertisement we don't have to click there and hopefully this has been started otherwise we can simply click back and you click again here and this time hopefully this will start downloading so you can see we have this uh when this has been downloaded or this is being downloaded on our computer in our virtual setup and once this is done I'll show you that this has been downloaded in our downloads folder maybe we can click there and we if you minimize it then to verify we can go to our downloads folder in our Windows machine and we click there and to verify just click on downloads folder and you can see we have downloaded that that required software here the Apache web server and you can see this is the compressed version so we need to uncompress it so we are going to right click there and then we should have some option to uncompress this and say the extract all so click there and we are choosing the when we are selected by default location so hopefully the new folder will be created here in the download folder where we will have uncompressed version of Apache HTTP server so it may takes few seconds and after that we will have this one and this Apache web server downloaded here you can see this new folder has been created here so I'm going to close it and this is still working so maybe a few minutes a few seconds more but Apache web server is is a free so we can practice it on different operating system the support is available for different operating system but in today's video we are using Windows 10 based machine for demonstration so now this is complete yes this is complete and now maybe to avoid confusion I'm going to delete this folder which was compressed one and now when I click there I open this folder I have this uh another folder folder that is Apache 24 and I'm going to copy or maybe I'm going to I'm going to cut this folder from this location and now I'm going to the let's say I'm going to another I'm going to sorry I'm going to C drive here and the C drive I'm going to paste that folder here so now you can see we have this folder and if you don't do this thing if then we need to have some I need I mean I we need to make some additional configuration and to avoid that I'm going to Simply copy it in the by default are the configuration by default configuration to use them I have copied this folder from the downloads folder to C's Root Drive here C drive and now you can see Apache 24 is here and if I click there double click here you can see we have this folder and then we open this pin folder you can see after a few seconds this is the HTTP which will help us to install this Apache web server on our Windows 10 machine so now we know that this is here in C and Apache 24 and in this we have been so we have to copy this path so we copy this path and then we go to command prompt so to launch this command prompt we know that we can simply write c m d and we need to run as it as a as an administrator so click on administrator and after a few seconds this command prompt will launch we say yes and maybe we can close it and now you can see we are in the command line interface of windows 10. and now we have to go to that particular folder to that particular directory where we have this Apache web server downloaded so we just paste this that link that was in C drive apache24 and then we have bin and then we press enter and now we are in that particular directory and in this directory when we are here we just have to run this command that is httpd.exe and then you press enter and now the services should start but it's asking for permission so we are going to give permission allow access to this and and now the service has been started and to show you that this has really been started you just minimize it and then we open our browser here and in our browser we will type the localhost that will be one two seven so that will be the IP address of a local computers 7.0.0.1 and we press enter so now you can see there is a message that it works it means at this time we have been successful to install this Apache web server on our Windows 10 based machine so this was uh quick and simple and now let's see what we have here and we are going to minimize this and if we go back to our this folder in this bin folder and if we go back here we have a folder that is known as HT docs and if we open this one then you can see we have an index file and whatever is being displayed in our browser so that is being taken from this file that is index Dot HTML and now we can also delete it and we can we can maybe bring our own contents so for example in this case we have here I have this file here so I have created this in HTML you can see this is something we have created for myself so now this HTML and I would like to see this contents in place of the by default contents here so it means this is my website and I host I want to host this website using Apache web server so let's say I'm going to close it maybe close this browser and then I'm going to copy these contents here both of the files and I'm going to paste the same contents here and now this was the by default index I'm going to delete that one and in place of that I'll just change the name of my file which is actually index one I'll change it to index simply index and press enter and now in this directory I have actually placed the files required or the files of my website and now if I launch this browser and in this browser if I can write the IP address of local I'm in localhost so that would be 127.0.0 and Dot 1 and press enter so this time you can see instead of the by default page it is showing me the site or the website which I have developed now if we want to access the same website which is hosted on Windows 10 machine and if you want to access this maybe from second machine that is Kali Linux machine so I already have Kali Linux machine in my virtual setup and now I have open this browser and in this browser I will write I'll type the IP address of Windows 10 machine that IP address of Windows 10 is 192.168.204.146 and if I press enter so now you can see it also shows that this website which is basically hosted on Windows 10 machine so on this machine so that website is also accessible in from wind sorry from Kali Linux machine as well okay so that's it for today we wanted to show you that yes how how we can install Apache web server and how we can host specific website on that so that was really static web page and maybe we can add some more functionality into it in our future videos but for demonstration I wanted to show that how this web server actually works so thank you thank you for your time and hope to see you in some other video
Info
Channel: GD Networking Newbie
Views: 21,683
Rating: undefined out of 5
Keywords: Apache, Apache server installation, Apache http server, web server Apache, web server, computer, how-to, linux, tutorial, system administration, sysadmin, command-line, cli, apache web server, web hosting, how to host a website, apache virtualhosts, apache website, windows10, kali linux, how to install apache, install apache webserver on windows 10, gd networking newbie
Id: j-sB_6eRFck
Channel Id: undefined
Length: 11min 15sec (675 seconds)
Published: Fri Sep 23 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.