# PxPlus Web Server Setup

> Source: https://manual.pvxplus.com/inomads/pxplus-web-server-setup

## Configuring PxPlus Web Server

To configure the PxPlus **[Web Server](https://manual.pvxplus.com/web-server-reference/introduction)**, you need to run the Web Server configuration utility. If installed on a Windows system, this utility can be found in:

**Start » All Programs » PVX Plus Technologies » PxPlus » Web Server » Configure Web Server**

On UNIX, you can run the shell command *"runconfig"* found in your PxPlus Install directory.

See **[Configuring the Web Server](https://manual.pvxplus.com/web-server-reference/setting-up-pxplus-web-server/configuring-the-web-server/overview)**.

Note:  
The assumption is that you are running this from a graphical workstation using either Windows or WindX to a UNIX/Linux host.

Once the Configuration window displays, select the *Edit* button to set up a new Web Server to handle iNomads requests.

![](https://manual.pvxplus.com/migration-assets/a181dbe0fecbef0df6da104702be724c5f65095081e16a848fdac176fe84fd54.jpg)

Selecting this button displays the Server Setup window:

![](https://manual.pvxplus.com/migration-assets/ad357c324b121bda63fb10b1d94c2435282bf6db672a725702b89dbfb9aa20d0.jpg)

For the *Default Root Directory*, you need to specify the pathname to the *\*plus/inomads* directory on your server. The full and proper pathname must be specified in *Default Root Dir* field.

The *Default Doc* must also be set to *inomads.pxp*.

The number of tasks defined in the PxPlus Web Server is not related to the number of concurrent iNomads sessions. Apart from the PxPlus Web Server task handlers required to download images, usually only a handful of concurrent Web Server task handlers are required.

All other settings can be set according to normal Web Server configuration.

Note:  
When entering the Server configuration, make sure you select OK twice to record the settings.

## Starting the Server

Once you have entered the configuration, you will need to start the service running.

Select the *Start/Stop* button in the Configuration window to launch the server (or terminate it if already running).

![](https://manual.pvxplus.com/migration-assets/2a207fa77004ae2d5316eda5776726e1754cc09c7b058169f0994edb7ab71a8c.jpg)

Once you select the *Start/Stop* button, the process should change from *Stopped* to *Running*. If, after a few moments, the status changes back to *Stopped*, it is likely that you have a configuration error. The most likely error is that there is already a Web Server monitoring the port you have selected or the directory you have chosen does not exist.

## Installing as a Service on Windows

The PxPlus Web Server can be installed as a Windows Service using any of the following methods:

| **Location** | **Method** |
| --- | --- |
| From the **[PxPlus IDE Main Launcher](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher)** | Expand the *Installation and Setup* category and select *Install Windows Services* to launch the **[Install Windows Services](https://manual.pvxplus.com/install-windows-services)** interface. From the *Type of Service* drop box, select *PxPlus Web Server*. After entering the service settings in the grid, select the *Install* button. |
| From the PxPlus Command line | Enter **"\*plus/web/service"**.<br>This utility can be run to install/uninstall the Web Server. See **[Setting Up Web Server as a Windows Service](https://manual.pvxplus.com/appendix/webserver-service)**. |
