Skip to content

Configuring name resolution for virtual hosts

To enable access to browser interfaces by virtual hosts, add name resolution entries to the DNS servers in your environment or to the hosts files of individual client systems.

The following line shows the syntax of the entry to add to a name resolution file:

IP-Address FQDN Hostname zenoss5.Hostname

For example, the following entry identifies a Control Center master host at IP address 192.0.2.12, hostname cc-master, in the example.com domain.

192.0.2.12  cc-master.example.com  cc-master  zenoss5.cc-master

Configuring name resolution on a Windows 7 system

To perform this procedure, you need Windows Administrator privileges.

  1. Log in to the Windows 7 system as a user with Administrator privileges.
  2. Click Start > All Programs > Accessories > Notepad.
  3. Right click Notepad and then select Run as administrator.
  4. Click File > Open, and then enter the following file C:\Windows\System32\drivers\etc\hosts.
  5. At the end of the file, add a name resolution entry.
  6. Save the file, and then exit Notepad.

Configuring name resolution on a Linux or OS/X system

To perform this procedure, you need superuser privileges on the client system.

  1. Log in to the client system as root or as a user with superuser privileges.
  2. In a text editor, open the /etc/hosts file.
  3. At the end of the file, add a name resolution entry.
  4. Save the file, and then close the editor.