Fedora 12 Setup Apache Web Server
In this post,I will show you how to Fedora 12 Setup Apache Web Server.
Install Apache
- Open the “Terminal Windows” : Applications -> System Tools -> Terminal
- Login as root:
supress “Enter” and input the password.
- Type in
# yum install httpdto install Apache.
Configuration of Apache
- Edit the httpd.conf file with gedit, in the “Terminal Windows” type:
gedit /etc/httpd/conf/httpd.conf
- Look for the line:
ServerName www.example.com:80Uncomment it and rename it to your domain name and save the file.
- Start the Apache server with root, in the “Terminal Windows” type:
# service httpd start
- Open Firefox to see if it is working by entering the URL:
http://localhostIf everything goes well the page should appears like this:

- Open the Firewall Configuration:  Setting -> Administration -> Firewall and open up the port 80/TCP for HTTP:
- Put all your website’s files into /var/www/html folder.





Add A Comment