FREQUENTLY ASKED QUESTIONS

Return To FAQ

How to create Custom Error Pages:

1) First create a Web Page that you plan to use as the Custom error page and place it on the same DRW server where your Domain or account is being hosted.

2) Then in your top-level (first level or root) folder on the server of your account you will find a file named .htaccess

Don't forget the "." (dot) in .htaccess

If it is not there, add it. If the file is there, DO NOT change anything in the file. You will need to add the following line to the bottom of the file and then save the file (upload it to the same location if applicable):
ErrorDocument 404 /error-pages/404.html

In the example above, you are creating a Custom Error Page for the 404 error code i.e for File Not Found and the file named 404.html resides in a folder called error-pages in your account. If you need to add one for the "Forbidden" error, simply add another line after the line you just added as follows:
ErrorDocument 405 /error-pages/405.html

If you need one for the Authorization Error used for Password Protecting folders use the code 401. We suggest that you do not create pages for other errors or codes unless you are absolutely sure about what you are doing. For example, if you accidentally created an error page for the 200 code (OK), then you will be creating a loop and nobody will be able to see your Web Site.

 

 

 

 

 

 

 

Looking for a Domain Name?
CLICK HERE TO START
250 MB Diskspace
10 GB Transfer
25 Email Accounts
Intel 1.7 GHz
256 MB RAM
1 IP Address
25 GB Transfer
ULC-3 Secure
1U to Full Tower
Copyright 2004. DRW Networks Inc. All Rights Reserved
Quick Links: Small Business Web Hosting | Dedicated Servers | Colocation | Resellers | Design | Support | About