These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Default website content / Custom error pages on the new forum.
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