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.

default disabled page

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.

To Edit the Default Placeholder Page

  1. Log into the server at the CLI as root, either via SSH or from the terminal

  2. At the CLI, navigate to ~iworx/var/errors/disabled/

    cd ~iworx/var/errors/disabled/
    
  3. Using a text editer, create a new file named index.php. The below example uses vim

    Note

    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 the index.html page exists. The new index.php file will also not be overwritten or removed when InterWorx updates.

    vim index.php
    
  4. Update the file with the desired information

  5. Save and close the file