Hi, I am not sure how to do that but when I disable a website, it is redirected to the default website and it shows the default website, but every link is broken then because it holds the link in the browser. Is there a way to solve this that it really redirects to the main website or maybe that all the links are still working? I don't know how to do that. Thanks!
Set redirect type to "R=301,L" or "R,L" and enter the url into the redirect path like http://mymaindomain.com/
Thanks for your response. I know that great functionality but I want to route "all" traffic to another website or just so that the links works in that website. Because also subdomains from every website that are not recognized by ISPConfig are redirected and also trying the direct IP-address. Any idea how to solve that? Thanks again.
You could try putting a RewriteRule in the default vhost that is used if none of the other vhosts is matched. You can see which one that is by typing apache2ctl -t -D DUMP_VHOSTS In that file put somthing like this in the virtualhost section: Code: RewriteEngine On RewriteRule ^(.*)$ http://www.myfallbackdomain.com/$1 [R,L,QSA] I hope this is what you meant.