Possible Duplicate:
Multiple domains on single host plan on GoDaddy problem with redirection

My goDaddy account for hosting and on that host i have multiple domains. goDaddy offers me only one 404 redirect for all of my domains:

  • domain1.com/gadfgsdf (nonexistent link) is redirected to domain1.com
  • domain2.com/gadf (nonexistent link) is redirected to domain1.com
  • domain.com/sagsdg (nonexistent link) is redirected to domain1.com

I need for one of my domains to make the redirect on the same domain:

  • domain4.com/gsdhgfhf (nonexistent link) to be redirected to domain4.com

I am on Windows and i am using Wordpress on all of my domains. I looked for the web.config file but didn't find it. I new at this and i would really appreciate it if you can explain more detailed.

Thanks

link|improve this question
Please do not create multiple copies of the same question, if you have information to add, add it to your origional question: serverfault.com/questions/69372/… – Sam Sep 30 '09 at 9:05
feedback

closed as exact duplicate by sysadmin1138 Jan 5 at 15:47

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

If it's hosted on an Apache box you could use the .htaccess file to make the error redirects - full urls and even html are possible http://www.javascriptkit.com/howto/htaccess2.shtml

ErrorDocument 400 /errors/badrequest.html
ErrorDocument 401 /errors/authreqd.html
ErrorDocument 403 /errors/forbid.html
ErrorDocument 404 /errors/notfound.html
ErrorDocument 500 /errors/serverr.html 

ErrorDocument 401 "<body bgcolor=#ffffff><h1>You have
 to actually <b>BE</b> a <a href="#">member</A> to view 
this page, Colonel!
link|improve this answer
feedback