Apache Fedora 13
How to install Apache on Fedora 13
- Install Apache Sever
yum install httpd
How to configure Apache Server on Fedora 13
- Set the apache service to start on boot
chkconfig --levels 235 httpd on
- Enable name-based virtual hosting on port 80
- Open the httpd configuration file for editing
gedit /etc/httpd/conf/httpd.conf
- Replace ServerName www.example.com:80 with ServerName localhost
- Uncomment the line containing the text NameVirtualHost *:80
- Save and close the file
- Restart the Apache HTTP Server daemon
service httpd restart
How to test Apache on Fedora 13
- Visit localhost in your web browser
Note: You should see a Apache/Fedora test page