Sun Java System Web Server 6.1 SP10 Getting Started Guide

Web Server Instances

When you install the Sun Java System Web Server 6.1 product, two server instances are installed by default, as listed and shown below:

Note –

If you have the Sun JavaTM Enterprise System 1 installed on your system and you want to upgrade the Sun Java System Web Server 6.1 that is part of Sun Java Enterprise System 1 to Sun Java System Web Server 6.1 SP10, you must use the Java Enterprise System (JES) installer to perform the upgrade. Do not use the separate component installer included with Sun Java System Web Server 6.1 SP10.

Figure 1–1 Web Server Instances

Web server instances

The Administration Server is created in the server_root/https-admserv directory and you can use it to administer all of your Sun Java System Web Server instances, including the default instance.

The default instance is created in the server_root/https- host.domain directory. You specified the host.domain part of the directory name during installation.

This chapter includes the following sections:

Start the Administration Server

Install Sun Java System Web Server at the default directory (/opt/SUNWwbsvr/) . To access the Administration Server at the default directory , you must first start it.

Accessing the Administration Server

After you have started the Administration Server, you can access it by specifying the Administration Server address in a browser window: http://server_name:administration_port .

For Instance, if the server name specified during installation is acme and the default port 8888 as the port for the Administration Server to run on, open a browser and type http://acme:8888.

The Administration Server prompts you to authenticate yourself through a login screen. Type your username and password (you specified these when you installed the server). Once authentication is complete, you are ready to get started.

You can manage your Web Server, using the following user interfaces:

Figure 1–2 Administration Server Interface

Administration Server interface

For a complete description of the features each of these interfaces provides, see the Sun Java System Web Server 6.1 SP10 Administrator’s Guide.

The default Web Server instance is turned off when you first install the product and you need to start it.

Start the Web Server Instance

To start the default web server instance, you can use either the Administration Server interface or the start script available in the server_root /https-host.domain directory.

Access the Web Server

To access Web Server's default home page, open a browser and type http://acme

The default home page of the server is displayed from the server_root /docs directory.

Figure 1–3 Web Server's Default Home Page

Web Server's default home page

You can publish additional content on the site by copying the content onto the docroot directory, server_root/docs , of the web server instance.

The server_root/docs directory contains a set of default pages, including one named index.html (shown in the figure above). You can replace these default pages with other content; in any way. For instance, if you want to publish your own set of HTML pages, copy these into the server_root /docs/ directory. By default, Sun Java System Web Server displays index.html as the server home page, which you can launch by typing http://acme in a browser window.

To publish additional content, you need not copy everything that you want to publish on your site into the docroot directory. You can also put content into any directory that you have mapped as an additional document directory.

This is discussed in the section Chapter 2, Creating and Using Virtual Servers.