Connect Individual Clients

By default, Bitwarden clients will connect to Bitwarden-hosted servers, but any client application can be configured to connect to your self-hosted Bitwarden instance instead.

[!NOTE] If you do not wish to connect to a self-hosted instance If you are trying to connect to a Bitwarden-hosted server, but your client is attempting to connect to a self-hosted instance, select bitwarden.com or bitwarden.eu from the Logging in on menu.

Browser extension

To connect a browser extension to your self-hosted server:

  1. On the login or registration screen, select the Logging in ondropdown and choose the Self-hostedoption.

Self-hosted server selection 2. In the Server URLfield, enter the domain name for your server with https:// (for example, https://my.bitwarden.domain.com). 3. Select Save.

[!TIP] Advanced Client-Server Specification Users with unique setups can specify the URL of each service independently in the Custom Environmentsection.

Mobile app

To connect a mobile app to your self-hosted server:

  1. On the login or registration screen, select the Logging in ondropdown and choose the Self-hostedoption.

Server selection on mobile 2. In the Server URLfield, enter the domain name for your server with https:// (for example, https://my.bitwarden.domain.com). 3. If your self-hosted server requires it, upload a certificate. 4. Select Save.

[!TIP] Advanced Client-Server Specification Users with unique setups can specify the URL of each service independently in the Custom Environmentsection.

Desktop app

Each account that's logged in to your desktop app can be connected to a different server. To connect an account to your self-hosted server:

  1. On the login or registration screen, select the Accessingdropdown and choose the Self-hostedoption.

Region selector on desktop Region selector on desktop 2. In the Server URLfield, enter the domain name for your server with https:// (for example, https://my.bitwarden.domain.com). 3. Select Save.

[!TIP] Advanced Client-Server Specification Users with unique setups can specify the URL of each service independently in the Custom Environmentsection.

CLI

To connect the CLI to your self-hosted server:

  1. Logout using the bw logout command.
  2. Use the following command to connect the CLI to your self-hosted server:
bw config server https://your.bw.domain.com

Users with unique setups can specify the URL of each service independently using the following commands:

bw config server --web-vault <url>
bw config server --api <url>
bw config server --identity <url>
bw config server --icons <url>
bw config server --notifications <url>
bw config server --events <url>
bw config server --key-connector <url>