<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I change the Nuxeo VM DNS name? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-change-the-nuxeo-vm-dns-name/m-p/315561#M2562</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Configuring the machine so that it can be accessed over &lt;CODE&gt;nuxeovm.example.com&lt;/CODE&gt; poses no problem, but changing the VM's hostname so that it is anything other than the default of &lt;CODE&gt;nuxeovm&lt;/CODE&gt; doesn't work for me. The steps I am taking to first configure the VM for DNS are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Make the required settings in my domain zone and reverse lookup file (I use an internal BIND DNS resolver)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Setting static IP and DNS settings at &lt;CODE&gt;/etc/network/interfaces&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;&lt;P&gt;Add a &lt;CODE&gt;ServerName&lt;/CODE&gt; directive to the Nuxeo VM's Apache virtual host file. E.g. at &lt;CODE&gt;/etc/apache2/sites-enabled/nuxeo&lt;/CODE&gt; I add the following entry:&lt;/P&gt;
&lt;P&gt;ServerName nuxeovm.example.com&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After restarting the VM this works a charm, and I can access the VM at &lt;CODE&gt;nuxeovm.example.com&lt;/CODE&gt;. If however I change the VM's hostname to something other than &lt;CODE&gt;nuxeovm&lt;/CODE&gt; (e.g. "&lt;CODE&gt;nuxeovm-2&lt;/CODE&gt;") first by editing the &lt;CODE&gt;/etc/hostname&lt;/CODE&gt; 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.&lt;/P&gt;
&lt;P&gt;It looks very much like I am missing one particular step here...does anyone have any pointers?&lt;/P&gt;
&lt;P&gt;Cheers,
Dave&lt;/P&gt;</description>
    <pubDate>Sat, 09 Mar 2013 12:48:18 GMT</pubDate>
    <dc:creator>davenz_</dc:creator>
    <dc:date>2013-03-09T12:48:18Z</dc:date>
    <item>
      <title>How do I change the Nuxeo VM DNS name?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-change-the-nuxeo-vm-dns-name/m-p/315561#M2562</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Configuring the machine so that it can be accessed over &lt;CODE&gt;nuxeovm.example.com&lt;/CODE&gt; poses no problem, but changing the VM's hostname so that it is anything other than the default of &lt;CODE&gt;nuxeovm&lt;/CODE&gt; doesn't work for me. The steps I am taking to first configure the VM for DNS are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Make the required settings in my domain zone and reverse lookup file (I use an internal BIND DNS resolver)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Setting static IP and DNS settings at &lt;CODE&gt;/etc/network/interfaces&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;&lt;P&gt;Add a &lt;CODE&gt;ServerName&lt;/CODE&gt; directive to the Nuxeo VM's Apache virtual host file. E.g. at &lt;CODE&gt;/etc/apache2/sites-enabled/nuxeo&lt;/CODE&gt; I add the following entry:&lt;/P&gt;
&lt;P&gt;ServerName nuxeovm.example.com&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After restarting the VM this works a charm, and I can access the VM at &lt;CODE&gt;nuxeovm.example.com&lt;/CODE&gt;. If however I change the VM's hostname to something other than &lt;CODE&gt;nuxeovm&lt;/CODE&gt; (e.g. "&lt;CODE&gt;nuxeovm-2&lt;/CODE&gt;") first by editing the &lt;CODE&gt;/etc/hostname&lt;/CODE&gt; 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.&lt;/P&gt;
&lt;P&gt;It looks very much like I am missing one particular step here...does anyone have any pointers?&lt;/P&gt;
&lt;P&gt;Cheers,
Dave&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2013 12:48:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-do-i-change-the-nuxeo-vm-dns-name/m-p/315561#M2562</guid>
      <dc:creator>davenz_</dc:creator>
      <dc:date>2013-03-09T12:48:18Z</dc:date>
    </item>
  </channel>
</rss>

