Re: failing to determine servers fully qualified doamin name

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

 



On 15.07.10 17:45, Tapas Mishra wrote:
> I do not have access to a DNS.
> I have a machine on which apache2 is installed on Ubuntu10.04
> I have 2 domain names (both internal)
> site1.domain.com
> and site2.domain.com
> 
> and 2 vhost files for both of them.
> configuration of site1.domain.com is
> http://pastebin.com/6yzMzUbS
> and configuration of site2.domain.com is
> http://pastebin.com/9iE8gG1b
> 
> in /etc/hosts
> I have
> 192.168.1.5 site1.domain.com site2.domain.com
> 
> now when I am restarting apache2 I am getting following
> 
> apache2: Could not reliably determine the server's fully qualified
> domain name, using 192.168.1.5 for ServerName
>  ... waiting apache2: Could not reliably determine the server's fully
> qualified domain name, using 192.168.1.5 for ServerName
> 
> 
> What do I need to check ?

Simply:

put directives:

ServerName site1.domain.com

and 

ServerName site2.domain.com

to virtualhost definitions. apache does NOT take care of /etc/hosts.

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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