Hi,
I was followed this tutorial to set up ssl: https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04
Then followed this one to sign my certificate: https://fang.ws/blog/wp-content/cache/page_enhanced/fang.ws//blog/how-to-install-ssl-certificate-apache-ubuntu/_index.html
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/sitename_com.ca-bundle
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 affirium.com for ServerName Action ‘start’ failed. The Apache error log may have more information.
I am using Ubuntu 12.04
What could cause this? Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Check your /etc/hosts. xxx.xxx. is your ip address: <br> <br>sudo nano /etc/hosts <br>========================================== <br>127.0.0.1 localhost.localdomain localhost <br>xxx.xxx.xxx.xxx yourdomain.com <br>==========================================
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.