Thread: Could not reliably determine the server's fully qualified domain name
how put fqdn in etc/hosts file,
server ip 192.168.2.101
hostname - promisedland
fqdn - promisedland.dyndns.org
want set web based file server, thanks....
here put in hosts (/etc)-gedit
127.0.0.1 promisedland
192.168.2.101 promisedland
# following lines desirable ipv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
if using domain name on dyndns.org assume want use it's dynamic ip ability , in case should not add name hosts file. adding prevent name being useful when it's ip changes (which whole purpose of dyndns.org).
in other words, hosts file useful names ip never change. when ip can change (typical isp connection) need rely on dns server not hosts file.
also, not want add name twice in example above. if have fixed ip name second line more correct (well, needs have full name not domain, , should have public ip not local network ip). 1 127.0.0.1 should removed.
hostname different domain name public users can use access server. if use dhcp on lan router take care of resolving local names , better idea using hosts file. need enable dns (relay) on router work.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Could not reliably determine the server's fully qualified domain name
Ubuntu
Comments
Post a Comment