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.
To connect a browser extension to your self-hosted server:
On the login or registration screen, select the Region dropdown and choose the Self-hosted option.
In the Server URL field, enter the domain name for your server with
https://
(for example,https://my.bitwarden.domain.com
).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:
On the login or registration screen, select the Region dropdown and choose the Self-hosted option.
In the Server URL field, enter the domain name for your server with
https://
(for example,https://my.bitwarden.domain.com
).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:
On the login or registration screen, select the Region dropdown and choose the Self-hosted option.
In the Server URL field, enter the domain name for your server with
https://
(for example,https://my.bitwarden.domain.com
).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:
Logout using the
bw logout
command.Use the following command to connect the CLI to your self-hosted server:
bw config server https://your.bw.domain.com
Text Copied!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>
Text Copied!