Sun WebServer Installation Guide

Creating a Sun WebServer 2.0 Server

Before converting a Sun WebServer 1.0 configuration into the Sun WebServer 2.0 format, first add a basic Sun WebServer 2.0 instance to the system. This server will contain the general file structure used in Sun WebServer 2.0 and will provide default configuration files that can be modified with the values from the Sun WebServer 1.0 server.

To create a new Sun WebServer 2.0 instance named "server1":
  1. Type the following at the command line (as "root"):


    # htserver add "server1"
    

    This command creates a new Sun WebServer 2.0 server-level configuration file and a default web site. The locations where new files are installed are listed below:

    • /etc/http/server1.httpd.conf: Server configuration file

    • /var/http/server1/: Root of the new server

    • /ver/http/server1/websites/default_site/: Site path of default web site

    • /var/http/server1/websites/default_site/conf/: Location of site configuration file