Apache is a well known web server that is capable of running many sites on one server and one IP address. Sometimes called the Killer App for Linux. See the Apache Project page for a better description.


Like most things that are open source for Fedora it could be installed off the install media or a simple command will install it.

# yum install httpd


Apache can be as simple and as complicated as you want it to be. However, if you are trying run just a simple website then be basic install will take care for a lot of the hard parts. Listed below is the simple configurations.

Single SiteEdit

Simply copy your site files into the /var/www/html directory and the site is configured. Be sure to have the main page named index.html.

Multi SiteEdit

In the /etc/httpd.conf file add a virtual host section for each site. Sample used from the Apache project.

DocumentRoot /www/docs/
ErrorLog logs/
TransferLog logs/

Make sure for each virtual host that the main page is index.html and all configurations done.

Starting ApacheEdit

Fedora makes it real simple use the Managing Services guide to enable the httpd service to run on boot. Then simply run the following to start the apache web server.

# service httpd start

More InformationEdit

For more information and detailed information please see the ApacheProject page.