How to change the hostname of a VPS…
March 30th, 2007If you want check the hostname of your VPS or if you want to change it there are couple of simple commands you can use thru SSH using a program like "PuTTy"…just follow the simple steps below
2. type “hostname” [will display current hostname]
3. type “hostname myserver.mydomain.com” [will change it]
The Output
root@vps [~]# hostname
vps.mydomain.com
root@vps [~]# hostname myserver.mydomain.com
root@myserver [~]# hostname
myserver.mydomain.com
——
Cheers
Anthony R.
Web Designing & Web Hosting
Share and Enjoy: