How Nexcess clients on physical (non-cloud) servers can use their SiteWorx account to create and manage custom error pages.
The SiteWorx control panel allows you to easily add specific directives to the .htaccess file through the SiteWorx interface. For example, when an error page like "404 - Page not found" is triggered, you can customize the content that displays on the error page.
ATTENTION: If you do not have experience handling .htaccess files, we highly recommend that you contact our support team for assistance. An incorrectly handled .htaccess file can cause major problems for your website.
What you need
A backup of your .htaccess file
An enabled global or directory-specific .htaccess file. See How to create .htaccess files for details.
A custom file that contains the text to appear when the specified error code is triggered, for example, "my404.html."
Creating a custom error page
For each custom error page, you will specify the appropriate error code and enter the name for the file that contains the information to be displayed when a user triggers the error.
Log in to your SiteWorx account.
- If you do not know your password, click Forgot your password on the login page.
- If you do not know the web address for your SiteWorx login page, either refer to your Welcome Email or contact our 24/7 support team for assistance.
On the main menu, click Hosting Features > Htaccess.
Under the section corresponding to the directory that you want to manage, (Global Directory Options or Per Directory Options), click Edit.
Locate the Error Documents section, then click Add.
From the Error Code drop-down list, select the desired error code. In the "Error Page" field, specify the file name that is either relative to the current directory or relative to the root directory. You can also opt to enter a fully-qualified URL to another page. For example :
Relative to current directory: my404.html
Relative to root directory: /some/dir/my404.html
Click Save.