4.5 Starting with a Custom Configuration Directory
Prev | 4. Starting and Stopping Virgo Web Server | Next

## 4.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.

See Alternate `serviceability` and `work` Directories for a known issue related to specifying an alternate `config` directory.

### 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
4.4 Starting with JMX Access Modifications | Home | 4.6 Stopping Virgo Web Server