How to redirect all domain traffic

kam

Verified User
Joined
Jan 4, 2009
Messages
55
Hello,

I know how to redirect http://sample.com to my domain "http://ssd.asia"

However, I don't know how to redirect the "not found page" to http://ssd.asia.

For example,

http://sample.com/aa.htm are not existed. [404 Error]
http://sample.com/ab.htm are not existed. [404 Error]
http://sample.com/ac.htm are not existed. [404 Error]


Although I redirect http://sample.com to my domain "http://ssd.asia"
when the visitor visit the URL liked http://sample.com/aa.htm, it will not redirect to http://ssd.asia

Anyone know how to do so?

Thanks in advance,

Kam
 
From the Help link in your DA panel:

http://www.site-helper.com/misc.html

You can edit your error pages to redirect anywhere you want.

I don't know why the error pages are not work for me.

I can view the 404 page via : http://lastdns.com/404.shtml

but If I visited some non-existed URL,
liked http://lastdns.com/404test.shtml
the Custom Error Pages will not showed up in IE and it showed the IE default error pages instead, but it's normal in the FF. If I added the redirect code in Custom Error Pages, the code may not be run for the IE user.

-------

By the way, I am looking for a simple solution to forward all traffic from one domain to another domain's main page.

For example,

http://web.lastdns.com ->forward to -> http://ssd.asia
http://nothing.lastdns.com ->forward to -> http://ssd.asia
http://lastdns.com/notexisted/ ->forward to -> http://ssd.asia
http://web.lastdns.com/notexisted.htm ->forward to -> http://ssd.asia

The Custom Error Pages will not worked in case of http://web.lastdns.com/notexisted.htm

Although I know that I can added *.lastdns.com. CNAME lastdns.com. in the DNS to solved this problem. But it's too complex to do so because I need to handle more than 500 domains.

SO far, it's seem that using .htaccess to forward a domain traffic is relatively simple.

But I wonder to know if DA have an internal function to handle my need straightly.

Regards,

Kam
 
Back
Top