Sub-server docroot problem

Hello,
I’ve done a fresh installation of virtualmin on a new server.
I moved (trasfer) a host from an old server to the new one.

The virtual server have few subserver but I’m not able to get them work. I get this error in the log:

[Fri Sep 04 16:18:43.460424 2015] [:error] [pid 26276] [client 1.1.1.1:13388] SoftException in Application.cpp:299: Script “/home/domain.com/domains/sub.domain.com/public_html/index.php” resolving to “/home/domain.com/domains/sub.domain.com/public_html/index.php” not within configured docroot
[Fri Sep 04 16:18:43.461071 2015] [core:error] [pid 26276] [client 1.1.1.1:13388] End of script output before headers: index.php

I get the same error also if I change from php fcgi to cgi wrapper or mod_php.
I’ve tried to create a new virtual server and then a sub-server: same error appear

Please, help me!