# Apache Webserver - Virtual Host Save Error

**URL:** <https://forum.virtualmin.com/t/apache-webserver-virtual-host-save-error/138444>\
**Category:** Webmin\
**Tags:** bug-report\
**Created:** [December 3, 2026, 2:13pm UTC](https://forum.virtualmin.com/t/apache-webserver-virtual-host-save-error/138444 "2026-12-03T14:13:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MsterLich](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/m/e47c2d/32.png) [@MsterLich](https://forum.virtualmin.com/u/MsterLich)\
**Post date:** [December 3, 2026, 2:13pm UTC](https://forum.virtualmin.com/t/apache-webserver-virtual-host-save-error/138444/1 "2026-12-03T14:13:21Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu Server/Desktop 24.04.5 LTS |
| Webmin version | 2.670 / 2.680 |
| Apache version | 2.4.58 |

Hello, I am having a problem in the Apache Webserver Tab. Saving the Virtual Host after changing the Document root gives me an error.

To recreate the error:  
Servers \> Apache Webserver \> Select any Virtual Host  
Under Virtual Server Details:  
Changing the Document Root and then saving causes the following error:

 ![Bildschirmfoto 2026-12-03 um 15.08.00](https://cdn.forum.virtualmin.com/uploads/default/original/3X/2/4/24874745a1bea639947cb1d870cab8a095f024af.png)

However, changing the directory through ‘Edit Directives’ works without error.

If I need to provide more information, tell me how and I will.
