By nandommamdam
After Setting Up my Virtual Hosts when i run [sudo apache2ctl configtest] i get this message below please how can i fix it ?
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 172.20.0.221. Set the ‘ServerName’ directive globally to suppress this message
Syntax OK
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!
Accepted Answer
Hello,
The message that you are getting is only a warning and would not prevent your Apache and Vhost from working. As long as you get the Syntax OK at the end then the Apache restart should work as normal.
If your Virtual Host is still not working, feel free to share the content here and I could try to advise you further.
Regards, Bobby
hello please mine shows syntax ok, but it wont connect if i try to access the site in the vhost. it took longer time to load and when done loading it sent an error messege
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.