Setting the Fully Qualified Domain Name (FQDN)
edit /etc/hosts
1 2 3 4 5 |
127.0.0.1 localhost.bc2s localhost 127.0.1.1 ca.bc2s.cc ca 90.147.102.202 ca.bc2s.cc ca |
check it works
1 |
hostname -f |
Reference
Setting the Hostname & Fully Qualified Domain Name (FQDN) on Ubuntu 12.04 or CentOS 6.4