How to set fqdn in Linux
Edit /etc/hostname and change the text to your hostname:
blog
Edit /etc/hosts and edit like 2 to look like the following (under the one written 127.0.0.1 localhsot).
127.0.1.1 blog.devget.net blog
Where blog.devget.net is your FQDN and blog is your hostname
save and test your config by typing the following
hostname
This should output blog
hostname -f
This should output blog.devget.net
Recent Comments