|
Articles - 404 Page not found , Custom error page for ixwebhosting |
|
|
|
|
Home
Articles
Custom Error Pages
|
|
|
Most of the times you have websites which display error pages that are not consistant
with the look and feel of the website. Here for my website I have created a custom error
page. This is how you do it for ixwebhosting. Pretty simple and easy. I am sure you
would be able to figure out a way to do it with any other hosting as well.
Follow the steps below for ixwebhosting
1. go to www.ixwebhosting.com
2. login using your email and password
3. click on hosting products
4. click on manage
5. select web options
6. now click on the domain to configure hosting parameters
7. scroll down find error and click on add
8. select Error Document Code - 404 - File or directory not found
9. Choose the document type - select url
the difference being
If you check "URL":
- it will allow you to use scripts (php/ASP) to dynamically generate error pages
(alternatively, use static error page files for each type of error page);
- error page files for this domain can't be shared with other domains, therefore
"Path to Custom Error page" must be relative to the virtual host and start with "/".
If you check "FILE":
- only static error page files can be used;
- the same error page files for this domain can be shared with other account domains,
therefore "Path to Custom Error page" must be relative to the user home directory.
For instance, with the following file path, all account domains will share this error page:
pages\404_error.html
- use the "\" character as a delimiter in the file path;
- do not start the file path with "\".
10. Path to Custom Error page - /404.html
Now create a page 404.html then upload to the path specified above. U can give any name .
Thats it you are done.
|
|
|
|
|
|