Virtualhost mapped to WordPress multisite sub-domains

I already tried to install by following this guide :

but is useful to me because I need to install it for several virtualhost. For this reason I tried to do a manual installation.

I thought it was possible to enable multisite and map the sub-domains with virtualhost, but failed to complete the installation.

When I try to move the directory from “wordpress” to the example.com domain, wordpress not working.

i think It’s depend there are two of apache configuration files which set different parameters for the same virtualhost.

@stephdl can give me some advice to find a solution to the problem?