# Modify home page?

**URL:** <https://vaultwarden.discourse.group/t/modify-home-page/1133>\
**Category:** Help\
**Created:** [September 12, 2021, 3:00pm UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133 "2021-09-12T15:00:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![derrickr](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/derrickr/32/261_2.png) [@derrickr](https://vaultwarden.discourse.group/u/derrickr)\
**Post date:** [September 12, 2021, 3:00pm UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133/1 "2021-09-12T15:00:32Z")

</div>

Hi,

Is it possible to modify the index.html home page to use my own home page content, and use a different URL to access VaultWarden? e.g. vaultwarden.html

I tried simply copying & renaming index.html to test.html, but although it loads the page when I try to log in, it returns: An unexpected error has occurred.

I also noticed that it adds a hash #/ to the end, but that also happens on the working normal/unmodified page, so I guess that’s normal operation?

Basically, I’d like to have a different home page, so that any casual browsers that might find my instance don’t see it’s bitwarden, and hence may be tempted to crack.

I suspect there’s some backend magic required, and would appreciate any pointers.

Cheers!

---

<div class="post-metadata">

**Author:** ![derrickr](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/derrickr/32/261_2.png) [@derrickr](https://vaultwarden.discourse.group/u/derrickr)\
**Post date:** [September 12, 2021, 3:01pm UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133/2 "2021-09-12T15:01:42Z")

</div>

Screenshot of the error:

 ![vaultWarden](https://global.discourse-cdn.com/free1/uploads/vaultwarden/original/1X/8d60f0885351d9f03bef7b897a127f445cb99577.png)

---

<div class="post-metadata">

**Author:** ![jjlin](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@jjlin](https://vaultwarden.discourse.group/u/jjlin)\
**Post date:** [September 12, 2021, 9:25pm UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133/3 "2021-09-12T21:25:05Z")

</div>

You can run under a subdir:

> **[Using an alternate base dir · dani-garcia/vaultwarden Wiki](https://github.com/dani-garcia/vaultwarden/wiki/Using-an-alternate-base-dir)**
>
> Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden\_rs - Using an alternate base dir · dani-garcia/vaultwarden Wiki

---

<div class="post-metadata">

**Author:** ![robartsd](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@robartsd](https://vaultwarden.discourse.group/u/robartsd)\
**Post date:** [September 15, 2021, 1:47am UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133/4 "2021-09-15T01:47:03Z")

</div>

The web page does all the heavy lifting with the cryptography (the server never has access to the unlocked vault). The files are static, but the code on the page uses the page URL to find the server API which provides the encrypted objects. The web vault that ships with Vaultwarden is a [slightly patched](https://github.com/dani-garcia/bw_web_builds) version of the official Bitwarden web vault. You can [use your own files](https://github.com/dani-garcia/vaultwarden/wiki/Disabling-or-overriding-the-Vault-interface-hosting) if you want, but the expected entry point is still index.html.

---

<div class="post-metadata">

**Author:** ![derrickr](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/derrickr/32/261_2.png) [@derrickr](https://vaultwarden.discourse.group/u/derrickr)\
**Post date:** [October 17, 2021, 1:42pm UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133/5 "2021-10-17T13:42:37Z")

</div>

Understood. Thanks for the reply.

I’m now going to see if I can figure out how to make it use a subdomain (something like: [sub-dir.primary-domain.com](http://sub-dir.primary-domain.com))

Cheers!

---

<div class="post-metadata">

**Author:** ![derrickr](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/derrickr/32/261_2.png) [@derrickr](https://vaultwarden.discourse.group/u/derrickr)\
**Post date:** [October 17, 2021, 1:46pm UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133/6 "2021-10-17T13:46:36Z")

</div>

Thanks, am gonna give this a go now. Cheers!

---

<div class="post-metadata">

**Author:** ![sudo](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@sudo](https://vaultwarden.discourse.group/u/sudo)\
**Post date:** [February 24, 2023, 8:34am UTC](https://vaultwarden.discourse.group/t/modify-home-page/1133/7 "2023-02-24T08:34:55Z")

</div>

Have you figured it out?

At least where to find the static files?

There is trick here # [Disabling or overriding the Vault interface hosting · dani-garcia/vaultwarden Wiki · GitHub](https://github.com/dani-garcia/vaultwarden/wiki/Disabling-or-overriding-the-Vault-interface-hosting)
