Problem using webroot on redirected non-www website

Redirection shouldn’t result in this kind of error as far as I know.