Cannot access my site from http, https or ip

Posted April 6, 2014 3.8k views
Hi, I was followed this tutorial to set up ssl: Then followed this one to sign my certificate: In my SSL config I have: SSLEngine on SSLCertificateFile /etc/apache2/ssl/sitename_com.crt SSLCertificateKeyFile /etc/var/www/private.key SSLCertificateChainFile /etc/apache2/ssl/ Now I am unable to access my site via https://, http and the ip address. When I do sudo service apache2 start I get: apache2: Could not reliably determine the server's fully qualified domain name, using for ServerName Action 'start' failed. The Apache error log may have more information. I am using Ubuntu 12.04 What could cause this? Thanks

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.

Submit an Answer
1 answer
Check your /etc/hosts. is your ip address:

sudo nano /etc/hosts
========================================== localhost.localdomain localhost