» Home | » Login   » Support | » Site Map   » Contact Us  

   

 

Business Grade
            Hosting Solutions

 

Get your Business Online Today!

» Home | » Hosting | » Web Design » Domains » SEO » Order » Contact Us  

 2Macs Web Design and Hosting Inc. - Since 2001


About Us
Why Choose Us?
Our Services
About Us
FAQ's
30-Day Guarantee
 

Hosting
Our Hosting Services
What Is Web hosting
Hosting Prices/Plans
Email Only Services
Our Servers
30-Day Guarantee
 

Web Design
What We Do For You
Our Latest Designs

E-Commerce
Want Extras?
Custom Logo Design
Flash
 

Services

Search Engine Submissions
Optimization Service!
SSL Certificates
Costumer Support


A Few Of Our Hangouts
Tell-A-Friend






 

 

 

 

 

Adding Custom Error Pages (Linux/Unix)

Solution

Instead of the default custom error pages, you can create your own, more firendly, custom error pages. Currently HSphere supports the following custom errors:

  1. 400 Bad Requests
  2. 401 Authorization Required
  3. 403 Forbidden
  4. 404 Page Not Found
  5. 405 Method Not Allowed
  6. 500 Internal Server Error
  7. 501 Method Not Implemented

Set the error documents through the control panel

  • Login to your control panel.
  • Click the "Web Options" icon under the "Main" section of your control panel; if you have multiple domains, click the "Edit" button icon next to the domain you would like to work on, which will open a web configuration/settings page.
  • Click the "Add" icon next to "Error" setting.
  • Select the custom error code from the pull down list (e.g. "404|Not Found").
  • If you would like the error to be redirected:
  • Enter /custom.php or whatever the name of your custom error page. This path is relative to your web site root directory. So entering "/custom.php" will instruct the web server to redirect the page to http://www.yourdomain.com/404.php everytime the web server receives the give error code.
  • Click the "Redirect" radio button.
  • Click the "Submit" button.
  • If you would like to display a simple text message:
  • Enter the text message.
  • Click the "Message" radio button.
  • Click the "Submit" button.

 

  • Don't forget to click the "Apply" link near the top of the web configurations/settings page. You may need to wait 5-15 minutes for the web server to restart itself before the changes will take effect.

 

 Support Home | FAQ's | Contact Us

Company   TOS/AUP  |   Site Terms   |   Policies   |   Media    


Copyright © 2001-2009  2Macs Web Design and Hosting Inc.   All Rights Reserved
Website Creation and Hosting By 2Macs Web Design and Hosting Inc.