Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

changing hostname

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
eagles051387
Posts: 40
Joined: Mon Dec 22, 2014 1:29 pm

changing hostname
  • Quote

Post by eagles051387 » Wed Jan 28, 2015 8:00 am

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??
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: changing hostname
  • Quote

Post by joem » Wed Jan 28, 2015 7:13 pm

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
Top

KeiroD
Posts: 61
Joined: Fri Oct 11, 2013 8:35 pm

Re: changing hostname
  • Quote

Post by KeiroD » Tue Mar 03, 2015 5:27 am

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
Make your changes there. Then:

Code: Select all

nano /etc/hosts


Update your entries. Enjoy!
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password