Question
Changing port from 80 to 443 redirects site to index (SSL related)
Hi there, i am trying to install my SSL certificate and the problem seems to be that
As soon as the virtualhost port in /etc/apache2/sites-available/default-ssl.conf
or 000-default.conf is changed from 80 to 443 (needed for SSL) my website gets directed to a index folder of the html
I am running Ubuntu 14.04 w/wordpress & apache
Any help whatsoever to solve this is appreciated
Here is what my 000-default.conf looks like
<VirtualHost *:443>
ServerName prollagen.com
SSLEngine on
SSLCertificateFile /etc/ssl/key (redacted)
SSLCertificateKeyFile /etc/ssl/key (redacted)
SSLCertificateChainFile /etc/ssl/key (redacted)
DocumentRoot /var/www/html
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
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.
×