> Source: https://docs.cyberelements.io/bastion/4.7/ro/Usage/Configuration/SystemConsole/ConfigureVirtualhostSSL/

# Configuring the SSL Router Address Announcement

Depending on the web interface access address, CyberElements Bastion can provide the client or Edge Gateway wishing to pair with a different connection address to the SSL Router.

> **Generally applied configuration**
>
> Usually, the default SSL Router advertisement is configured to declare the DNS name or public IP address used to access the SSL Router. A new SSL virtual host is created so that when the product is accessed via the private IP address or an internal DNS name, it is the private IP address or internal DNS name that is returned.

> **Mandatory after installation**
>
> After the installation of the Mediation Controller, the default announcement is the address of the web interfaces (`IP_MC_WEB`) with port 563, and not the address of the SSL Router. Modify it before pairing the first Edge Gateway, otherwise clients and Edge Gateways are sent to the wrong address. In a cluster, the default announcement is empty after the installation: enter the virtual IP address of the SSL connections (`VIP_MC_SSL`) with the port of the SSL Router.

Access the Mediation Controller server's web interface with the URI `/system`.

> **Examples**
>
> If access to the Mediation Controller on its web IP address is `10.0.10.10`, then access to the system interface will use the URL: https://10.0.10.10/system.
>
> If access to the Mediation Controller is possible with a DNS name, for example `cyberelements-bastion.domain.local`, then access to the system interface will use the URL: https://cyberelements-bastion.domain.local/system.
>
> > **Important !**
> >
> > For any changes to the password, licence, or certificates (SSL Router, Watchdog, and CyberElements Bastion client), connect to the actual IP address for clusters (`RIP_MC_WEB_MASTER` or `RIP_MC_WEB_SLAVE`).

Click on the tile `Virtual Hosts`: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_Install_System_Tile_VirtualHosts.png)

**Edit default announcement**

> 1. Modify the SSL virtual host `default`: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_Install_System_VirtualHosts_SslVirtualhosts_Edit.png)
> 2. In the `Public address for plugin connections` field, specify the access address to the SSL Router, either using an IP address or a DNS name, followed by its port, in the form `address:port` (for example `IP_MC_SSL:443`): ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_Install_System_VirtualHosts_SslVirtualhosts_EditForm.png)

**Add a conditional announcement**

> 1. Add a new SSL virtual host: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_Install_System_VirtualHosts_SslVirtualhosts_Add.png)
> 2. Define which IP address or DNS name this SSL virtual host is used for and which IP address or DNS name will be returned for access to the SSL Router: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_Install_System_VirtualHosts_SslVirtualhosts_AddForm.png)
