Question

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

Posted June 7, 2016 1.6k views
Apache LAMP Stack DigitalOcean DigitalOcean Articles Configuration Management Applications

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>

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.

1 answer

Hi,

Just i got fixed this issue.

Thanks.

Submit an Answer