My site was hosted in an hosted provider which had enabled certificates so the website in the google results is appearing with the https://
in the beginning.
Since, yesterday I have setup my site in a VM (Ubuntu Server 16.04
with Apache2) which currently don't have any enabled certificate for the domain. The .conf
file is like :
<VirtualHost *:80>
ServerAdmin myemail@example.com
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/html/mysite
ErrorLog ${APACHE_LOG_DIR}/mysite-error.log
CustomLog ${APACHE_LOG_DIR}/mysite-access.log combined
</VirtualHost>
Is possible to edit the .conf
. Is it possible to redirect all the traffic from https to http?