Page Title
Body If you have several Rails Machines, you may need to adjust a few settings to get the most efficient and secure possible communications between your servers. Each of your server has a private address in addition to the public IP address. These private addresses can communicate with each other without traversing our firewall so that they are faster and somewhat more secure than using the public addresses. You can check the private address of the server by running <code>ifconfig eth1</code>. For example, I might have two servers with these private addresses: <pre><code> server1 10.0.10.51 server2 10.0.10.52 </code></pre> After I've checked the private addresses with ifconfig, I can add this line to /etc/hosts on server1: <pre><code>10.0.10.52 server2.railsmachina.com server2</code></pre> And I would add this line to /etc/hosts on server2: <pre><code>10.0.10.51 server1.railsmachina.com server1</code></pre> Now I can <code>ping server2</code> (or server2.railsmachina.com) from server1 and it will ping the private address. Pinging the private address for server1 will likewise work on server2.
Make page private