JulianRunnels / Vaultwarden_Self_Host

Automatically setup and host a Vaultwarden (unoffical Bitwarden) instance on a Raspberry Pi or other Linux Server
119 stars 25 forks source link

question about the FQDN #26

Closed carmolim closed 1 year ago

carmolim commented 1 year ago

Hello I just finish to run the docker-compose and everything went ok. I can access the vaultwarden using the browser entering the machine IP with https. But to use the FQDN that I inserted when I ran the create_ssl.sh I need to edit the /etc/hosts on my machine, but that way I can't the bitward client on iOS, what I'm missing?

JulianRunnels commented 1 year ago

There are 2 options:

  1. If you have a PiHole or other internal DNS server, set the FQDN there.
  2. Make sure the hostname of the host server is the same as the FQDN. Most LANs will automatically associate hostnames with a .lan or .local endpoint.

If you have the vault on a host named Vault, you should be able to reach it at https://vault.lan or https://vault.local.

You can test this by pinging the hostname from another machine and seeing what it provides back.

carmolim commented 1 year ago

Thanks! I thing that will be easier to setup a Local DNS Records on pihole.