Hosting Web Sites Around the World
Home   About   Support   Search   Contact
  Ask Support
   
  Account Overview
  Control Panel Overview
    
  Anonymous FTP
  Archive Manager
  Active Server Pages
  CGI-BIN & File Paths
  Changing Passwords
  Counters
  Cron Job Manager
  Custom Error Manager
  Email Software Setup
  File Manager
  Formmail
  FTP Instructions
  .htaccess File
  IP address
  Mail Manager
  Mailing Lists
  Mime Types
  MS FrontPage
  MX-Logic
  MySQL
  Password Protection
  PGP & PGP Mail
  Real Audio/Real Video
  Redirect URL
  Revved Up Tools
  Search Engine
  Secure Mail
  Secure Server SSL
  Shopping Cart
  Site Statistics
  SiteXpress
  SSH / Telnet
  SpamVault
  Sub-Domains
  Submission Tips
  Webmail
  Web Site Builder

 

 

Support Manual

custom error page

Custom Error Page Manager

You can create custom error pages that will show when visitors try to access a page on your site that does not exist (error 404) or any other error. Perhaps it was an old page that you removed, or perhaps you changed it's name, or perhaps the visitor is spelling the url incorrectly. Either way, your visitors will get a real page instead of an error.

First, you must create an HTML page that you would like visitors to see when they would otherwise get an error, and upload that page to your www directory.

Login to your control panel and click the Custom Error Manager Icon

custom error page manager

Choose the error code you want to set up a special page for. Choices are:

custom error pages

 

Choose the type of action:

custom error page instructions

 

Choose the Error handler URL or message:

custom error message

and click "Apply changes"

 

 

Note: If you install any Error Code handlers, Frontpage extensions will not install correctly. If you wish to use Frontpage extensions on your domain, please install Frontpage first, and then add the Error Handler of your choice.

You can create a custom error page manually instead by following the following instructions.

Open a plain text editor like Notepad (windows) or Simple Text (mac)

Type the following line:
ErrorDocument 404 http://www.yourdomain.com/errorfile.html

where yourdomain.com is your URL and errorfile.html is the HTML page you just created. Make sure it is all on one line.

Name the file .htaccess (save it in plain text only). make sure you include the period (.) at the beginning.

Upload the .htaccess file to your www directory in ASCII (plain text) format either through your File Manager or another ftp program.

Important Notes:

Do not edit the .htaccess file if you are using MS FrontPage! FrontPage uses the .htaccess file, and editing it may cause errors in your configuration.

If you have a Redirect or Password Protection (Protect Directories) set up, you already have an .htaccess file and can edit it (add the line above) by using the "Create/Edit file" browse button in your File Manager. (.htaccess files are "hidden" and will not be visible in your directory.)

What is a .htaccess file?

 

 

Copyright © 2003-2010 Hosting Connecticut, LLC.
Resellers of Hosting Connecticut, LLC. may reproduce this manual on their sites.