To change the hostname on your server
If you are running C-Panel, Login to WHM and use the "Change Hostname" under Server Setting
If you are running a Linux VPS or Linux server then edit
/etc/hostname
For CentOS based system you need to also edit
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network
For FreeBSD Dedicated servers edit /etc/rc.conf
If you have a FreeBSD jail please contact support
- 1 Utenti hanno trovato utile questa risposta
Articoli Correlati
How do I tell which version of Linux I'm on?
To find out the kernel version you are on run uname -a To find out the OS you are on run...
How do I disable root SSH login?
Login via SSH and edit /etc/ssh/sshd_config Look to see if there is a line like PermitRootLogin...
What ip's should I put in my /etc/resolv.conf?
This should be set for you already, we either use Google DNS or OpenDNS nameservers which...
How do I block an IP?
To block an IP from the command line run /sbin/iptables -I INPUT 1 -s -j DROP This will drop...
Changing the SSH port number
To change the SSH port number login as root and edit /etc/ssh/sshd_config Find the line that...