cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the Nuxeo VM DNS name?

davenz_
Confirmed Champ
Confirmed Champ

Hi All,

I'm attempting to configure the prepackaged Nuxeo 5.6 VM such that it can be accessed over DNS at an address other than the default.

Configuring the machine so that it can be accessed over nuxeovm.example.com poses no problem, but changing the VM's hostname so that it is anything other than the default of nuxeovm doesn't work for me. The steps I am taking to first configure the VM for DNS are:

  1. Make the required settings in my domain zone and reverse lookup file (I use an internal BIND DNS resolver)

  2. Setting static IP and DNS settings at /etc/network/interfaces

For example:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
dns-domain example.com
dns-nameservers 192.168.1.3
  1. Add a ServerName directive to the Nuxeo VM's Apache virtual host file. E.g. at /etc/apache2/sites-enabled/nuxeo I add the following entry:

    ServerName nuxeovm.example.com

After restarting the VM this works a charm, and I can access the VM at nuxeovm.example.com. If however I change the VM's hostname to something other than nuxeovm (e.g. "nuxeovm-2") first by editing the /etc/hostname file and setting the new hostname, then editing /etc/hosts such that the VM can resolve the new hostname to its own IP address and DNS name, and then follow the above steps, any attempt to connect to the VM at its new DNS address will always eventually time out and fail.

It looks very much like I am missing one particular step here...does anyone have any pointers?

Cheers, Dave

0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.