Question

My website is combining the .com extention with the directive selected. Such as - https://pinnacledu.comabout-us/

I have installed SSL to my website manually. it was successful. But after SSL Installation my website is combining the .com extension with the directive selected( http://pinnacledu.comabout-us) I dont know what is causing this issue. I get to know when I tried to add my website on google search index.

Code goes here.

<VirtualHost *:443> ServerAdmin admin@pinnacledu.com DocumentRoot /var/www/html ServerName pinnacledu.com SSLEngine on SSLCertificateFile /etc/ssl/certs/pinnacledu_com.crt SSLCertificatekeyFile /etc/ssl/certs/pinnacledu.com.key SSLCertificateChainFile /etc/ssl/certs/pinnacledu_com.ca-bundle <Directory /var/www/html> AllowOverride All Options FollowSymlinks </Directory> </VirtualHost>

<VirtualHost *:80> ServerName pinnacledu.com Redirect / https://pinnacledu.com/ </VirtualHost>

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Thanks for sharing, i thin this perfect