Re: ServerName usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nothing wrong, on startup httpd checks by default in "core" config if  servername used can resolve to something that exists, this is by default "core" config.

Just add something that resolves through your local dns or ignore the warning, since you are just concerned with the virtualhosts that will do the actual work.


2014-08-06 11:25 GMT+02:00 M Busche <spammymatt94@xxxxxxxxx.invalid>:
Hi,


If I only have ServerName declarations in the scope of my virtualhost directives, then I get a complaint at startup that apache couldn't figure out what my domain name is.  To make this warning go away, I added another ServerName entry at global scope (in apache2.conf).  But this seems weird to me.  Am I doing something wrong?  If I've done right, then why do I need to specify my ServerName in multiple places?  If I'm running virtual hosts, then which domain name do I put at global scope?


Thanks for any clarification you can offer.

Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux