Modifying webclient URL on vCenter Server welcome page
search cancel

Modifying webclient URL on vCenter Server welcome page


Article ID: 338873


Updated On:


VMware vCenter Server


  • Launching the Webclient URL: from vCenter Server welcome page fails.
  • Trying to open the Webclient from vCenter Server welcome fails with error:
In order for this direct link to work, you must first log in to the vSphere Web Client at least once from https://{webclient-host}:{webclient-https-port}.


VMware vCenter Server 5.1.x
VMware vCenter Server 5.5.x


This issue occurs if the webclient component is moved to a different server.


To resolve this issue, edit the index.html in the doc root folder and add the FQDN or IP address of the webclient server. Please take a backup of the file before continuing. 

To modify the index.html file:
  • Open C:\ProgramData\VMware\VMware VirtualCenter\docRoot\index.html file.
  • Find this line entry: <li><script type="text/javascript">document.write('<a hre443/vsphere-client/">'+ ID_LogInFlexClient +'</a>');</script></li>
  • Add the FQDN of the webclient to this entry:
  • <li><script type="text/javascript">document.write('<a href="https://FDQN_or_IP:443/vsphere-client/">'+ ID_LogInFlexClient +'</a>');</script></li>
  • Save the file and then refresh the vCenter Server welcome page.

Additional Information

在 vCenter Server 欢迎页面上修改 Web Client URL
vCenter Server のようこそページの Web Client の URL を変更する