How To Change Hostname And Ipaddress For Name Servers In Centos Server
Description:
For any cpanel server we have to assign Host name and Name server.Most of the cases we weill give some host name if we want to change Hostname in future…
– Log in to the server with Root access.
– Open the file nano /etc/hosts
From here you can change the Host name that will reflect in WHM/Cpanel
– For changing the Ipaddress of the server Name servers…,
– Log in to the server with ROot access,
– Open the below file,
nano /etc/resolv.conf
from Here you can change the name servers Ipaddress.
– To check the Ethernet port settings go to the below path,
nano /etc/sysconfig/network-scripts/ifcfg-eth0
– To check the Network configuration go to the below path,
nano /etc/sysconfig/network
Tags:Centos,Network,Redhat,Centos server,NEtwork setup,Name servers.
Add Comment