Apache Fedora 13

How to install Apache on Fedora 13

  1. Install Apache Sever
    yum install httpd

How to configure Apache Server on Fedora 13

  1. Set the apache service to start on boot
    chkconfig --levels 235 httpd on
  2. Enable name-based virtual hosting on port 80
    1. Open the httpd configuration file for editing
      gedit /etc/httpd/conf/httpd.conf
    2. Replace ServerName www.example.com:80 with ServerName localhost
    3. Uncomment the line containing the text NameVirtualHost *:80
    4. Save and close the file
    5. Restart the Apache HTTP Server daemon
      service httpd restart

How to test Apache on Fedora 13

  1. Visit localhost in your web browser
    Note: You should see a Apache/Fedora test page

Open Source Software: