ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

5 Ways to Change Hostname of your ESXi host

By Vladan SEGET | Last Updated: February 21, 2018

Shares

This post is a quick recap of different ways to change a hostname of an ESXi host. There are different ways we work and different tools we use. Not every time we have the chance to use the tools we want, or we have an access directly to the server room or to the console. This post will teach you 5 Ways to Change Hostname of your ESXi host.

Why would you want to modify a hostname first? Perhaps, after decommissioning some old hosts you want to re-use the old DNS records for your newer hosts which you have already deployed with some temp DNS settings.

Or you may be changing hostnames of a temporary or test environment, who knows. The examples might be numerous. Make sure to correlate the IP address and DNS entries on your DNS server first.

I'm sure that I won't show much new for “old” VMware admins, but new people which just starting to learn, they might find this usefull. Let's get started.

5 Ways to Change Hostname of your ESXi host

01 – Host Client

ESXi host client is now bundled with each ESXi installation. Previously you had to install an additional vib which assured this functionality. You can access the host client via a web browser, you don't need an additional software. vSphere Windows Client is dead. No connection possible.

connect to the host via host client with:

https://IP_or_FQDN/ui

and go to Networking > TCP/IP stacks > Edit Settings

You'll get a new pop-up window in an overlay. It comes up with preselected radio button and all you have to do is to change the hostname there… As simple as that.

02 – vSphere Web Client

Use vSphere Web client (Flash). This is the only client which can right now manage all configurations for vSphere infrastructure. The HTML5 client isn't fully finished yet. The Flash based client is slow, sometimes buggy, but we have to deal with it.

Connect via vSphere web client > Select Host > Configure > Networking > TCP/IP configuration > Select Default System Stack > Click the Edit icon.

And then you'll get a pop-up window where you can change the hostname. Again, very simple.

03 – vSphere HTML 5 Client

Yes, this is now possible also through vSphere HTML 5 client. Slowly all features are becoming available, but there is not all features parity just yet. For some features, especially vSAN related, you still need the vSphere Flash-based client.

Again, similar aproach as in previous example.

And the overlay window (nice one indeed) looks like this.

04 – SSH or direct console

For this, you'll need either direct access to the server room or SSH being activated.

Type

dcui

to enter the console window remotely.

And then go through the other configuration screens which I'm sure you already know… -:)

Hit F2 > Configure Management Network > DNS Configuration > Hostname.

Well this is it.

So far we had to do a one-by-one config, but you'll see that it's also possible to do that via other ways where you can use multiple TAB add-ons for Putty and do the config quicker.

Yes, we can duplicate session via File menu. Select View > Duplicate. The session will inherit credentials and script from the source session.

MTPuTTy and duplicate Session

05- PowerCLI to the rescue

if you have many hosts, you might want to use PowerCLI. I'm sure that there are tons of scripts which were written on this so I won't repeat myself. If you have many hosts to re-configure, it is certainly a way to do that via scripting.

I hope that this little article help some people learning VMware technology and that it will be useful for their day-to-day job.  Make sure that your DNS server has the good entries before changing any hostnames.

More from ESX Virtualization

  • VCP6.5-DCV Objective 1.4 – Secure vSphere Virtual Machines
  • Configuration Maximums
  • What is VMware vSphere Update Manager?
  • VMware Mirage Client Installation and Configuration
  • VMware vSphere Standard vs Enterprise Plus

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: Free Stuff, Tips Tagged With: 5 Ways to Change Hostname of your ESXi host

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware
  • XCP-NG FREE Hypervisor and XO Lite to deploy XOA

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in