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.conf
report-this.io
with AWS Route 53.report-this.io
www.report-this.io
However, 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!
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.
It should be,
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/
Heya @douxdoux,
Yes you are right,
ServerName your_domain
andServerAlias www.your_domain
becomeServerName -report-this.io
andServerAlias 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.