Feb
10
How to Update /etc/hosts
How to Update /etc/hosts
Edit your /etc/hosts file to something similar to the following example, replacing “alphabet” with your chosen hostname, “example.com” with your system’s domain name, and “66.66.66.66″ with your pubilc IP address.
root@zero:/# nano /etc/hosts
File: /etc/hosts
127.0.0.1 localhost.localdomain localhost 66.66.66.66 alphabet.example.com alphabet
You may also need to Set your Hostname.