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

May 31, 2018 82 views
Apache Ubuntu 16.04
ajayaswal
By:
ajayaswal

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/pinnacleducom.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>

1 Answer

Thanks for sharing, i thin this perfect

Have another answer? Share your knowledge.