How to: Edit the Default Placeholder Page For a Disabled SiteWorx Account¶
When a SiteWorx account is suspended via NodeWorx, a default placeholder page is displayed when domains associated with that account are accessed in a browser.
As the default placeholder page provides only very basic information, system administrators may wish to edit this page to include more specific details, such as the company name and contact information, or a link to their support desk.
Note
Updating the placeholder page will only affect newly disabled accounts.
To change the placeholder page for accounts that are already disabled, they will need enabled, and then disabled, again, in NodeWorx.
Contents
To Edit the Default Placeholder Page¶
Log into the server at the CLI as root, either via SSH or from the terminal
At the CLI, navigate to
~iworx/var/errors/disabled/
cd ~iworx/var/errors/disabled/
Using a text editer, create a new file named
index.php
. The below example uses vimNote
The default index page in this directory is
index.html
. Editing this file will make the desired change in the short term, however, that file will be overwritten upon any updates to InterWorx.index.php
files take precedent in Apache, so that is what will be served, even if theindex.html
page exists. The newindex.php
file will also not be overwritten or removed when InterWorx updates.vim index.php
Update the file with the desired information
Save and close the file