Question
I cannot redirect the subdomain to SSL
I cannot redirect the subdomain to SSL. My domain is izybai.com, it’s good. But when I write the subdomain manager.izybai.com it does not redirect me to SSL, that is, as if I did not have an SSL certificate.
Virtual host archive:
VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName izybai.com
ServerAlias www.izybai.com
DocumentRoot /var/www/izybai.com
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName gestor.izybai.com
ServerAlias www.gestor.izybai.com
DocumentRoot /var/www/izybai.com/backend
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Please help me!
Thansk!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×