By douxdoux
I trying to secure my website using a SSL certificate. I’m following this tutorial.
Here’s some information that could be valuable :
/etc/apache2/sites-available/grav.confreport-this.io with AWS Route 53.report-this.iowww.report-this.ioHowever, I’m not sure about the following step.
In Step 2
* Would ServerName your_domain and ServerAlias www.your_domain become ServerName report-this and ServerAlias www.report-this ? I’ve tried but it doesn’t seem to work. When I run sudo apache2ctl configtest I keep getting the following message : AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message Syntax OK
Am I doing something wrong ?
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!
Heya @douxdoux,
Yes you are right, ServerName your_domain and ServerAlias www.your_domain become ServerName -report-this.io and ServerAlias www.report-this.io.
As for the, AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message Syntax OK error, this is a common warning when configuring an Apache2 web server. It’s not a critical error, but rather a notice that Apache couldn’t determine the fully qualified domain name (FQDN) of your server.
To resolve this warning, you need to set the ‘ServerName’ directive in your Apache configuration.
It should be,
ServerName report-this.io
ServerAlias www.report-this.io
Note the domain extension at the end. Change it and test again. And to setup a proper hostname for your droplet, you can follow this guide, https://vpsfix.com/3806/change-ubuntu-server-hostname-command-line/
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.