My website is not redirecting to http, is there a way to fix?

June 7, 2016 586 views
Apache DigitalOcean Applications Configuration Management LAMP Stack DigitalOcean Articles

Hi,
I just configured Godaddy's EV certificate.
I am now unable to access my domain with http and example.com it simply taking me to apache home,
My config is like this:

<VirtualHost *:80>
ServerName example.com
Redirect permanent / https://example.com/
</VirtualHost>
<VirtualHost *:443>
ServerName example.com
SSLEngine on
SSLCertificateFile /home/developer/example.com.crt
SSLCertificateKeyFile /home/developer/example.com.key
SSLCertificateChainFile /home/developer/intermediate.crt
ProxyRequests On
ProxyPass / http://localhost:8080/example.com/
ProxyPassReverse / http://localhost:8080/example.com/
</VirtualHost>

1 Answer

Hi,

Just i got fixed this issue.

Thanks.

Have another answer? Share your knowledge.