Make your own free website on


Network Applications and Network Applications Lab

Setting up a Web Server


[Back to Procedures]


Setting Up a Web Server

  • Step 1: Making sure Apache is Installed - Terminal

    type this at the prompt:
    rpm -qa | grep httpd

    If it is working you be returned something like this:

  • Step 2: Editing httpd.conf - gEdit

    Edit httpd.conf in the folowing directory(you need to be logged in as root to do this):

    Change the following lines:
    #ServerName to ServerName
    ServerAdmin root@localhost to ServerAdmin youemail@yourprovider

  • Step 3: Start the httpd server - Terminal

    Type the following: /etc/init.d/httpd start
    If all goes well, this message should appear: Starting httpd: [ok]

  • Step 4: Set httpd server to start every time you boot your system - Terminal

    Type the following: chkconfig httpd on

  • Step 5: Make sure the web server is working - Mozilla

    Open Mozilla, and type in http://localhost/ or type in http://youripaddress

[Home] [Procedures] [Reading Notes] [Back to Top]

Questions or Comments? Click here to email me.