Default website content / Custom error pages

Hi,

How can I define a default content for a new created virtual server? (f.e. a "under construction" page)
How can I define custom apache error pages, so that all virtual servers of the virtualmin instance use the same error pages? (f.e. 404 access denied, or 500 internal server error)?

Thanks,
Tobias

for content you can do this when creating a server at the bottom.
or in the server template under default script installers.
you can also use the /etc/skel, put the pages you want to show in there and it will copy it to the virtual server you create.

for the error pages, either in the apache config or in the server template under Apache website add your path: ErrorDocument 404 /path/to/404error.html