Gracias, ya lo pude solucionar ayer, no pude contestar porque me habia quedado sin conexión, pero efectivamente el problema eran los vhosts, los eliminé y cree nuevamente y salió andando.
- - - Actualizado - - -
Me volvió a pasar... creo que la cagué cuando tire el certificado con letsencrypt. pero no le encuentro la vuelta, dejo los vhost . Ahora dejé solo dos dominios habilitados, dominio1 y dominio2. El 1 funciona bien, y al entrar al 2 redirecciona al 1...
DOMINio1:
<VirtualHost *:80>
SuexecUserGroup "#1020" "#1006"
ServerName dominio1.com.ar
ServerAlias
www.dominio1.com.ar
DocumentRoot /home/dominio1/public_html
ErrorLog /var/log/virtualmin/dominio1.com.ar_error_log
CustomLog /var/log/virtualmin/dominio1.com.ar_access_log combined
ScriptAlias /cgi-bin/ /home/dominio1/cgi-bin/
ScriptAlias /awstats/ /home/dominio1/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/dominio1/public_html>
Options ExecCGI SymLinksifOwnerMatch Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
AddHandler fcgid-script .php7.0
AddHandler fcgid-script .php7.3
FCGIWrapper /home/dominio1/fcgi-bin/php7.0.fcgi .php
FCGIWrapper /home/dominio1/fcgi-bin/php5.fcgi .php5
FCGIWrapper /home/dominio1/fcgi-bin/php7.0.fcgi .php7.0
FCGIWrapper /home/dominio1/fcgi-bin/php7.3.fcgi .php7.3
</Directory>
<Directory /home/dominio1/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
#RemoveHandler .php
#RemoveHandler .php5
#php_admin_value engine Off
FcgidMaxRequestLen 1073741824
<Files awstats.pl>
AuthName "dominio1.com.ar statistics"
AuthType Basic
AuthUserFile /home/dominio1/.awstats-htpasswd
require valid-user
</Files>
php_value memory_limit 64M
php_value suhosin.session.encrypt Off
IPCCommTimeout 41
RemoveHandler .php
RemoveHandler .php5
RemoveHandler .php7.0
RemoveHandler .php7.3
php_admin_value engine Off
</VirtualHost>
<VirtualHost *:443>
SuexecUserGroup "#1020" "#1006"
ServerName dominio1.com.ar
ServerAlias
www.dominio1.com.ar
DocumentRoot /home/dominio1/public_html
ErrorLog /var/log/virtualmin/dominio1.com.ar_error_log
CustomLog /var/log/virtualmin/dominio1.com.ar_access_log combined
ScriptAlias /cgi-bin/ /home/dominio1/cgi-bin/
ScriptAlias /awstats/ /home/dominio1/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/dominio1/public_html>
Options ExecCGI SymLinksifOwnerMatch Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
AddHandler fcgid-script .php7.0
AddHandler fcgid-script .php7.3
FCGIWrapper /home/dominio1/fcgi-bin/php7.0.fcgi .php
FCGIWrapper /home/dominio1/fcgi-bin/php5.fcgi .php5
FCGIWrapper /home/dominio1/fcgi-bin/php7.0.fcgi .php7.0
FCGIWrapper /home/dominio1/fcgi-bin/php7.3.fcgi .php7.3
</Directory>
<Directory /home/dominio1/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
#RemoveHandler .php
#RemoveHandler .php5
#php_admin_value engine Off
FcgidMaxRequestLen 1073741824
<Files awstats.pl>
AuthName "dominio1.com.ar statistics"
AuthType Basic
AuthUserFile /home/dominio1/.awstats-htpasswd
require valid-user
</Files>
php_value memory_limit 64M
php_value suhosin.session.encrypt Off
IPCCommTimeout 41
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCertificateFile /home/dominio1/ssl.cert
SSLCertificateKeyFile /home/dominio1/ssl.key
Include /etc/letsencrypt/options-ssl-apache.conf
RemoveHandler .php
RemoveHandler .php5
RemoveHandler .php7.0
RemoveHandler .php7.3
php_admin_value engine Off
</VirtualHost>
Dominio2:
<VirtualHost *:80>
SuexecUserGroup "#1114" "#1010"
ServerName dominio2.com.ar
ServerAlias
www.dominio2.com.ar
DocumentRoot /home/dominio2/public_html
ErrorLog /var/log/virtualmin/dominio2_error_log
CustomLog /var/log/virtualmin/dominio2_access_log combined
ScriptAlias /cgi-bin/ /home/dominio2/cgi-bin/
ScriptAlias /awstats/ /home/dominio2/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/dominio2/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
AddHandler fcgid-script .php7.0
AddHandler fcgid-script .php7.3
FCGIWrapper /home/dominio2/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/dominio2/fcgi-bin/php5.fcgi .php5
FCGIWrapper /home/dominio2/fcgi-bin/php7.0.fcgi .php7.0
FCGIWrapper /home/dominio2/fcgi-bin/php7.3.fcgi .php7.3
</Directory>
<Directory /home/dominio2/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
#RewriteCond %{HTTP_HOST} =webmail.dominio3.com.ar
#RewriteRule ^(.*)
https://dominio3.com.ar:20000/ [R]
#RewriteCond %{HTTP_HOST} =admin.dominio3.com.ar
#RewriteRule ^(.*)
https://dominio3.com.ar:10000/ [R]
FcgidMaxRequestLen 1073741824
<Files awstats.pl>
AuthName "dominio2 statistics"
AuthType Basic
AuthUserFile /home/dominio2/.awstats-htpasswd
require valid-user
</Files>
RemoveHandler .php
RemoveHandler .php5
RemoveHandler .php7.0
RemoveHandler .php7.3
php_admin_value engine Off
RewriteCond %{SERVER_NAME} =www.dominio2.com.ar [OR]
RewriteCond %{SERVER_NAME} =dominio2.com.ar
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<VirtualHost *:443>
SuexecUserGroup "#1114" "#1010"
ServerName dominio2.com.ar
ServerAlias
www.dominio2.com.ar
#ServerAlias webmail.dominio3.com.ar
#ServerAlias admin.dominio3.com.ar
DocumentRoot /home/dominio2/public_html
ErrorLog /var/log/virtualmin/dominio2_error_log
CustomLog /var/log/virtualmin/dominio2_access_log combined
ScriptAlias /cgi-bin/ /home/dominio2/cgi-bin/
ScriptAlias /awstats/ /home/dominio2/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/dominio2/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
AddHandler fcgid-script .php7.0
AddHandler fcgid-script .php7.3
FCGIWrapper /home/dominio2/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/dominio2/fcgi-bin/php5.fcgi .php5
FCGIWrapper /home/dominio2/fcgi-bin/php7.0.fcgi .php7.0
FCGIWrapper /home/dominio2/fcgi-bin/php7.3.fcgi .php7.3
</Directory>
<Directory /home/dominio2/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
AddHandler fcgid-script .php7.0
AddHandler fcgid-script .php7.3
FCGIWrapper /home/dominio2/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/dominio2/fcgi-bin/php5.fcgi .php5
FCGIWrapper /home/dominio2/fcgi-bin/php7.0.fcgi .php7.0
FCGIWrapper /home/dominio2/fcgi-bin/php7.3.fcgi .php7.3
</Directory>
<Directory /home/dominio2/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
#RewriteCond %{HTTP_HOST} =webmail.dominio3.com.ar
#RewriteRule ^(.*)
https://dominio3.com.ar:20000/ [R]
#RewriteCond %{HTTP_HOST} =admin.dominio3.com.ar
#RewriteRule ^(.*)
https://dominio3.com.ar:10000/ [R]
FcgidMaxRequestLen 1073741824
<Files awstats.pl>
AuthName "dominio2 statistics"
AuthType Basic
AuthUserFile /home/dominio2/.awstats-htpasswd
require valid-user
</Files>
RemoveHandler .php
RemoveHandler .php5
RemoveHandler .php7.0
RemoveHandler .php7.3
php_admin_value engine Off
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCertificateFile /etc/letsencrypt/live/dominio2.com.ar/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/dominio2.com.ar/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>