I try to better describe what is my scenario:
Suppose that the second-level domain of my NS is example.net
i want to install wordpress for various third-level domains (vhost1.example.net, vhost2.example.net, …, n)
the first thing I created virtual hosts 1, 2, … n
install nethserver-wordpress from rpms and proceed to the configuration from vhost1.example.net/wordpress/
Completed the installation of WP and /etc/httpd/conf.d/ are two files that manage my vhost without conflict:
1- wordpress.conf for vhost1.example.net/wordpress/
2- default-virtualhost.inc for vhost1.example.net/
when I try to change the WP installation from vhost1.example.net/wordpress/
in vhost1.example.net/ (only third-level domain without wordpress subfolder) with the command:
config setprop wordpress DomainName vhost1.example.net
inserting the two URL into the database when reloading the page is no longer displayed WP.
I think it’s because I have two files in a conf.d (wordpress.conf and default-virtualhost.inc) that set different settings for the vhost1.example.net
I stop here!
Also if active ssl for different vhosts does not load properly the pages and creates conflicts with the login page