Report this

What is the reason for this report?

unable to start apache after setting virtual host

Posted on March 25, 2016

After setting the virtual host for the SSL i am getting error while starting the apache

  • Restarting web server apache2 Action ‘start’ failed. The Apache error log may have more information.
<VirtualHost *:80>
   ServerName bnistore.in
   Redirect permanent / https://bnistore.in/
</VirtualHost>

<VirtualHost *:443>
    ServerName bnistore.in
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/bnistore.in.crt
    SSLCertificateKeyFile /etc/ssl/private/bnistore.in.key
    SSLCertificateChainFile /etc/ssl/intermediate.crt

     ServerAdmin webmaster@localhost
     DocumentRoot /var/www/html

     <Directory /var/www/html/ >
           Options Indexes FollowSymLinks MultiViews
           AllowOverride All
           Order allow,deny
            allow from all
      </Directory>
</VirtualHost>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.