- Joined
- May 20, 2016
- Messages
- 61
- Points
- 8
Using a text editor like nano
Modify the HOSTNAME= value to match your FQDN hostname.
For internal networking, find at at /etc/hosts to change the host that is associated with the main IP address for your server
Restart networking on your server to ensure that changes will be affected
Code:
sudo nano /etc/sysconfig/network
Code:
HOSTNAME=yoruserver.domain.com
Code:
127.0.0.1 localhost localhost.localdomain
123.25.57.79 yoruserver.domain.com hostname
Code:
/etc/init.d/network restart