How to change the default Virtualmin «Website Disabled» page template

Simple question, we want to change the template of the page that is shown when a website is disabled

1 Like

Put your new page in /etc/skel/public_html/index.html

/etc/skel is where you can put anything that you want to be put into users homes on creation (as with just about any Linux or UNIX system).

1 Like

Just on that, what would you use for the disabled page?
This one. I presume /etc/skel/public_html/index.html is for the working page.

My skel doesn’t have a public_html so I presume its pulled from somewhere else, this is a override.

skel contains whatever you put in it.

The disabled page is different since the domain owner user can’t control it, so you can’t put it in skel (you wouldn’t want them to be able to replace it). You can add a custom page in Server Templates->Website For Domain->Disabled Website HTML.

1 Like

Server Templates->Website For Domain->Disabled Website HTML is the solution on my question, thank you!

Sorry, I skimmed over the “disabled” part of the question at first.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.