why get this error when restart apache?

blog

Verified User
Joined
Jan 28, 2011
Messages
131
restart apache and error is:

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using me.example.com. Set the 'ServerName' directive globally to suppress this message

and this error:

[emerg] unknown directive "ServerAlias" in /usr/local/directadmin/data/users/admin/nginx.conf:14 line 14 ServerAlias *.mydomain.com

I have wildcard enabled on domain for wordpress multi site when run ./build rewrite_confs get error
 
Last edited:

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,467
Location
LT, EU
You seem to be running nginx+apache configuration. Please check your /etc/hosts file if you have your hostname specified there and remove ServerAlias configuration directive from nginx customization in Custom HTTPD Configuration section.
 
Top