Start and Test the Web Server

After installing the required software, you need to start the web server. Do this as the root user by entering the following:

rcapache2 start

As with all services, enter the following to stop the web server:

rcapache2 stop

If you want the web server to start up at boot time, you need to enter the following:

insserv apache2

To test whether the web server is properly installed, open a web browser and enter the following address:

The browser displays the following page:

Figure 3-8

M Test Page for Apache Installation - Konqueror isJ

Dokument Bearbeiten Ansicht Gehe zu Lesezeichen Extras Einstellungen Fenster Hilfe รถ Adresse: 11 ii http://localhost/

If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.

Seeing this instead of the website you expected?

This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues,

The Apache documentation has been included with this distribution.

You are free to use the image below on an Apache-powered web server, Thanks for using Apache!

i we red by

If your SLES 9 server is connected to a network, you (and other hosts on the network) can remotely access the web server by entering the following:


If your network provides a DNS server, you can use the hostname instead of the IP address. r

Was this article helpful?

0 0

Post a comment