2.5 Starting With a Custom Configuration Directory
Prev | 2. Starting and Stopping Virgo Web Server | Next

## 2.5 Starting With a Custom Configuration Directory

Use the `-configDir` option to specify an alternate `config` directory, different from the default `SERVER_HOME/config` directory. This option allows you to use the same Virgo Web Server installation to run multiple instances of Web Server . Simply create a config directory for each instance, specify unique port numbers, logging and tracing directories, and so on. and then specify that directory when starting Virgo Web Server.

If you specify a relative path for the `-configDir` parameter, the startup script interprets the path as relative to the root of the Virgo Web Server installation, and not relative to the directory from which you execute the `startup` script.

### Linux

To start Virgo Web Server using a config directory of `/config/node1`:

    prompt$ cd $SERVER_HOME
    prompt$ bin/startup.sh -configDir /config/node1

### Windows

To start Virgo Web Server using a config directory of `c:\config\node1`:

    prompt> cd %SERVER_HOME%
    prompt> bin\startup.bat -configDir c:\config\node1

Prev | Up | Next
2.4 Starting with JMX Access Modifications | Home | 2.6 Stopping Virgo Web Server