# Can't set Webserver Home Page

**URL:** https://discuss.freedombox.org/t/cant-set-webserver-home-page/3264
**Category:** Support
**Created:** [September 24, 2024, 5:54pm UTC](https://discuss.freedombox.org/t/cant-set-webserver-home-page/3264 "2024-09-24T17:54:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![blob](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@blob](https://discuss.freedombox.org/u/blob)
#### Post date: [September 24, 2024, 5:54pm UTC](https://discuss.freedombox.org/t/cant-set-webserver-home-page/3264/1 "2024-09-24T17:54:08Z")

</div>

I have a domain name for my Freedombox but I can’t set FreedomBox Service (Plinth) as Webserver Home Page, if I do I get Bad Request (400) error. I have ssh access to the server but I don’t know how to fix this.

I have had it working before.

---

<div class="post-metadata">

### Author: ![jvalleroy](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/jvalleroy/32/331_2.png) [@jvalleroy](https://discuss.freedombox.org/u/jvalleroy)
#### Post date: [September 25, 2024, 1:17pm UTC](https://discuss.freedombox.org/t/cant-set-webserver-home-page/3264/2 "2024-09-25T13:17:39Z")

</div>

Can you check the logs for plinth and for apache2 to see if there are any errors shown when the 400 error appears? You can check it using Cockpit (or using journalctl in SSH).

---

<div class="post-metadata">

### Author: ![blob](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@blob](https://discuss.freedombox.org/u/blob)
#### Post date: [September 26, 2024, 7:41am UTC](https://discuss.freedombox.org/t/cant-set-webserver-home-page/3264/3 "2024-09-26T07:41:05Z")

</div>

I get this from cockpit:

Invalid HTTP\_HOST header: ‘[subdomain.example.com](http://subdomain.example.com), [example.com](http://example.com)’. The domain name provided is not valid according to RFC 1034/1035.

I have another subdomain that works fine with the same address, they are both on the same LAN

only Apache Default works as Webserver Home Page, if I use Tor I can change it to FreedomBox Service (Plinth) by putting plinth at the end but on clearnet I get the Bad Request (400) error

Cockpit works as Webserver Home Page, everything else I have tried gives the 400 error

---

<div class="post-metadata">

### Author: ![blob](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@blob](https://discuss.freedombox.org/u/blob)
#### Post date: [October 4, 2024, 3:51pm UTC](https://discuss.freedombox.org/t/cant-set-webserver-home-page/3264/4 "2024-10-04T15:51:55Z")

</div>

I had bad Nginx config, I can get Webserver Home Page now but Nextcloud says “offline”, it used to be “file not found”

Nextcloud was ok for some time at the beginning

---

<div class="post-metadata">

### Author: ![blob](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@blob](https://discuss.freedombox.org/u/blob)
#### Post date: [October 6, 2024, 9:16am UTC](https://discuss.freedombox.org/t/cant-set-webserver-home-page/3264/5 "2024-10-06T09:16:22Z")

</div>

I got everything working now, even Nextcloud
