You are on page 1of 7

APACHE HTTP SERVER

When you view a web page over the Internet, the code to create that page must
be retrieved from a server somewhere on the Internet. The server that sends
your web browser the code to display a web page is called a web server.
There are countless web servers all over the Internet serving countless
websites to people all over the world. Whether you need a web server to host
a website on the Internet a Red Hat Enterprise Linux server can function as a
web server using the Apache HTTP server.
The Apache HTTP server is a popular, open source server application that runs
on many UNIX-based systems as well as Microsoft Windows.

Step1: Query/Check for the packages.

Step2: Install the packages.

Step3: Restart the service.

Step4: To make the service running after reboot, do the following

Step5: Create a Parent Directory to host a web-Page.

Step6: Enter the above html tags then save & quit the file using : wq

Step7: Create another Parent Directory to host Web-Page.

Step8: Enter the above html tags then save & quit the file using : wq

Step9: To create VIRTUAL-IP ADDRESS

Step10: Open the configuration file for Web-Server.

Step11:Go to the config-file and copy the last 7 lines and paste it at the end of the file

Step12: Following is the WEB-SERVER Configuration.

Step13: Enter the IP Address & FQDN for Network Communications and Save it using :wq.

Step14: IP BASED WEB HOSTING


Open Firefox Browser http://192.168.0.1

Step15: NAMED BASED WEB HOSTING


Open Firefox Browser http://www.googl.e.com

Step16: HOSTING WEB WITH VIRTUAL IP ADDRESS


Open Firefox Browser http://192.168.0.2
Open Firefox Browser http://www.gmail.com

TO AUTHENTICATE WEB SERVER, do the following.


Step1:

Step2: Configurations ofAUTHENTICATE WEB-HOSTING

Step3: Save and quit the file by using :wq

Step4: IP BASED WEB HOSTING


Open Firefox Browser http://192.168.0.1

Step5: NAMED BASED WEB HOSTING


Open Firefox Browser http://www.googl.e.com

Step6: HOSTING WEB WITH VIRTUAL IP ADDRESS


Open Firefox Browser http://192.168.0.2
Open Firefox Browser http://www.gmail.com

END ********************************

*****************************

You might also like