Frequently Asked Questions

Q: How can I set up a custom 404 (document not found) page?
A: Setting up custom error response pages is simple. It requires 3 simple steps:

Create your custom error page and upload it to your web site. Make note of the URL to access your error page.

Open a file in notepad or your favorite ASCII text editor. Type following line for each of the error codes you want to customize. "Missing document" or error 404 is the most common code. We we'll use it in our example:

ErrorDocument 404 http://www.mydomain.com/my-error-page.html

Save the file as the filename "htaccess.txt" and upload the file to the lowest level directory you want this to have an effect on making sure to rename the file to ".htaccess" once it's uploaded.

For instance, if you upload it to your root directory "/www.mydomain.com/public_html/" then the document above would be your error page for any missing documents on www.mydomain.com.

Alternatively, if you upload it to a subdirectory "/www.mydomain.com/public_html/stuff/" then anytime the user tries to access a missing document under the directory "stuff" or a directory inside stuff, they'll receive your customized error page.