VMware Cloud Community
kleinet
Contributor
Contributor

How To Change ip to hostname When connecting to vSphere Client ?

change hostname.png

0 Kudos
8 Replies
a_p_
Leadership
Leadership

You cannot change this in the vSphere Client. Use the FQDN rather than using the IP address to connect to the host.

André

0 Kudos
crawfordm
Expert
Expert

Make sure your host has a forward & reverse dns record, then connect using the FQDN, not the IP address.

------------------------------------------------------------------ If you found this answer useful please consider the use of the Helpful or Correct buttons to award points. Thanks, Marc Crawford CCNA, MCSE, MCTS, A+, Net+, Sec +, VCA-WM, VCA-DCV, VCA-Cloud, VCA-NV, VCP-NV, VCP-DCV, VCP, VCAP5-DCA http://gplus.to/marccrawford http://blog.marccrawford.com @uber_tech_geek
0 Kudos
rcporto
Leadership
Leadership

Since the picture posted shows that ESXi hostname is localhost.localdomain I recommend you first change the hostname for your ESXi and register this new name on your DNS servers... and then you will be able to access your ESXi using FQDN that will shows on your vSphere Client too.

Check this KB article for procedures of how to change the ESXi hostname: VMware KB: Changing the name of an ESX or ESXi host

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos
kleinet
Contributor
Contributor

Do you have a guide how to it ?

0 Kudos
a_p_
Leadership
Leadership

Are you asking how to create a DNS entry?

If so - assuming you are running a Microsoft DNS server - open the DNS management, expand your zone and add a new static "Host-A" entry with the host's name and IP address. Btw. Reverse-DNS is only required for vCenter Server, but not for an ESXi host.

André

0 Kudos
rcporto
Leadership
Leadership

Are you asking for how to change ESXi hostname or create a DNS entry ?

For DNS entry guide check post abobe by André.

For change ESXi hostname, check the KB article I posted above, or follow the steps below:

To rename a VMware ESXi host:

  1. If the ESXi host is part of a cluster, remove it from the cluster by entering Maintenance mode first.
  2. If the ESXi host is managed by VirtualCenter/vCenter Server, disconnect and remove the ESXi host from the vCenter Server.
  3. Connect to the host directly with a vSphere Client.
  4. Click ESXi host.
  5. Click the Configuration tab.
  6. Click DNS and Routing.
  7. Click  Properties.
  8. Edit the Name field in the DNS Configuration tab. Change anything else that is necessary in your environment.
  9. Click OK.
  10. Join the ESX host to VirtualCenter/vCenter Server and clusters.
---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos
kleinet
Contributor
Contributor

Thanks,its working.

0 Kudos
rcporto
Leadership
Leadership

Hey , you're welcome,

And don't forget to award points for helpful or correct answers.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos