I have a custom Domain and using x10hosting as my hosting for my domain when i typed domain is not correct then it redirect to x10hosting error.
So i want my own error page on my own custom domain how can i do that
I have a custom Domain and using x10hosting as my hosting for my domain when i typed domain is not correct then it redirect to x10hosting error.
So i want my own error page on my own custom domain how can i do that
Need to modify the (. Htaccess)
try this
Just Add these lines in your .htaccess file
here 404.html,403.html ,500.html are your custom error file and should be in public_html folderErrorDocument 404 /404.html
ErrorDocument 403 /403.html
ErrorDocument 500 /500.html
Regards ~ Vishal
Giving Reputation(at bottom of my post ) is the best way to encourage the person who helped you on forums.
@vishal2 ok thanks i i will test it
Last edited by pradctgign; 05-05-2010 at 10:34 PM.
Where should i put these codes in .htaccessErrorDocument 404 /404.html
ErrorDocument 403 /403.html
ErrorDocument 500 /500.html
Ok Done Thanks Vishal2 thanks for your help
read this tutorial http://www.freewebmasterhelp.com/tutorials/htaccess/
Regards ~ Vishal
Giving Reputation(at bottom of my post ) is the best way to encourage the person who helped you on forums.
me too
Will i have to edit 404.html page to make to it custom 404 error ?