The error massage that I get when I try to restart apache
AH00526: Syntax error on line 20 of /etc/apache2/sites-enabled/zzz-deny-generic.conf: Invalid ServerName “*” use ServerAlias to set multiple server names. Action ‘configtest’ failed. The Apache error log may have more information.
What shoul I do?
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello there,
Everyone can check our series of tutorials under the How To Set Up Apache Virtual Hosts
https://www.digitalocean.com/community/tutorial_collections/how-to-set-up-apache-virtual-hosts
Hope that this helps!
i have the similar trouble. AH00256: Syntax error on line 43 of /etc/httpd/conf.d/phpMyAdmin.conf: Invalid command ‘Order’, perhaps misspelled or defined by a module not incluided in the server configuration