> Source: https://docs.cyberelements.io/bastion/4.7/mt/Usage/Reference/SystemConsole/VirtualHosts/

# Virtual hosts

The **Virtual Hosts** module declares how the web server exposes the platform: which interfaces it listens on, which virtual hosts answer on them, and which SSL virtual hosts carry the certificates. It is intended for an administrator setting up the network exposure of a server, or adding a new access name to it.

The window carries **three grids**, stacked in the order the elements depend on one another: an SSL virtual host relies on a web virtual host, which itself relies on a web interface.

---

## Web Interfaces

The first grid lists the interfaces the web server listens on.

| Column | Description |
|---|---|
| **Name** | Name of the interface. |

When none is declared, the grid displays *No web interface.*

## Web virtualhosts

The second grid lists the web virtual hosts.

| Column | Description |
|---|---|
| **Name** | Name of the virtual host. |
| **Type** | Exposure mode: **Web VPN**, **Reverse Proxy** or **Transparent Reverse Proxy**. |

When none is declared, the grid displays *No Web virtualhost.*

## SSL virtualhosts

The third grid lists the SSL virtual hosts.

| Column | Description |
|---|---|
| **Name** | Virtual IP the SSL virtual host answers on. |
| **Description** | Free text describing the entry. |

When none is declared, the grid displays *No SSL virtualhost.*

## Acting on an entry

The three grids share the same toolbar and behave identically.

| Icon | Effect |
|---|---|
| **Add** | Opens the creation window for that kind of entry. |
| **Properties** | Opens the selected entry. Requires a selection. |
| **Delete** | Deletes the selected entries. A confirmation is requested, whose wording adapts to whether one or several entries are selected. |

Each grid is paginated, with an **Items per page:** selector.

> **Every change restarts the web server**
>
> Adding, editing or deleting an entry (in any of the three grids) triggers a **restart of the web server**, announced by a *Restarting of web server* overlay. Sessions in progress are interrupted: carry out these operations during a maintenance window.
