Self-hosting

Connect Clients to your Instance

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

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

  1. On the login or registration screen, select the Logging in on dropdown and choose the Self-hosted option.

    Self-hosted server selection
    Self-hosted server selection

  2. In the Server URL field, enter the domain name for your server with https:// (for example, https://my.bitwarden.domain.com).

  3. Select Save.

tip

Users with unique setups can specify the URL of each service independently in the Custom Environment section.

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

  1. On the login or registration screen, select the Logging in on dropdown and choose the Self-hosted option.

    Server selection mobile
    Server selection mobile

  2. In the Server URL field, enter the domain name for your server with https:// (for example, https://my.bitwarden.domain.com).

  3. Select Save.

tip

Users with unique setups can specify the URL of each service independently in the Custom Environment section.

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 Logging in on dropdown and choose the Self-hosted option.

    Server selection desktop
    Server selection desktop

  2. In the Server URL field, enter the domain name for your server with https:// (for example, https://my.bitwarden.domain.com).

  3. Select Save.

tip

Users with unique setups can specify the URL of each service independently in the Custom Environment section.

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:

    Bash
    bw config server https://your.bw.domain.com

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

    Bash
    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>

Suggest changes to this page

How can we improve this page for you?
For technical, billing, and product questions, please contact support

Cloud Status

Check status

Level up your cybersecurity knowledge.

Subscribe to the newsletter.


© 2024 Bitwarden, Inc. Terms Privacy Cookie Settings Sitemap

This site is available in English.
Go to EnglishStay Here