I just discovered there is the below code in website Options Apache Directives: Code: RewriteEngine On RewriteCond %{HTTP_HOST} ^somedomain.fi [NC] RewriteRule (.*) http://www.somedomain.fi$1 [L,R=301] I believe it was put there by some ancient web panel user, maybe even from ISPConfig 2 times. Anyway, that code gets added to the .vhost file, but is it needed? I think it directs plain website url to www.website, and now ISPConfig can do that. Or can it? I do not find such a setting in ISPConfig panel.
maybe you put that as default in the web_domain table with phpmyadmin? In any case, it should not be necessary anymore, you can do that redirect on the redirect tab, it's named seo redirect.