changing hostname
-
- Posts: 40
- Joined: Mon Dec 22, 2014 1:29 pm
changing hostname
I am going to be restoring a snapshot of the current testing vps i have to my live server what do i need to do to change the hostname of the server? Does anything special need to be done from within vesta or can I change the host name as per the ubuntu way??
Re: changing hostname
eagles051387 wrote:I am going to be restoring a snapshot of the current testing vps i have to my live server what do i need to do to change the hostname of the server? Does anything special need to be done from within vesta or can I change the host name as per the ubuntu way??
Just change the ips and the hostname and you should be fine.
Code: Select all
v-change-sys-hostname server.yourhostname.com
Re: changing hostname
eagles051387 wrote:I am going to be restoring a snapshot of the current testing vps i have to my live server what do i need to do to change the hostname of the server? Does anything special need to be done from within vesta or can I change the host name as per the ubuntu way??
Code: Select all
nano /etc/hostname
Code: Select all
nano /etc/hosts
Update your entries. Enjoy!