title: Adding a CNAME to an AWS EC2 Public Domain Name
body: <p>I have a test application running at</p>
  
  <pre><code>http://ec2-34-215-196-193.us-west-2.compute.amazonaws.com/
  </code></pre>
  
  <p>(This is a Test application, it wont be live for long. When I try to add a CNAME to this, like the screenshot below</p>
  
  <p><img src="https://dl.dropbox.com/s/6ievbce9mzpvcbs/Screenshot%202017-10-28%2018.47.54.png" alt="img"></p>
  
  <ul>
  <li><code>.</code> is added by the DNS system.</li>
  <li>However, my app seems to be accessible only via <code>us-west-2.compute.amazonaws.com</code> or <code>us-west-2.compute.amazonaws.com.</code>  </li>
  <li>I can make it to resolve it either one of them.</li>
  </ul>
  
  <p>But adding anything, does not seem to resolve with a CNAME.  It gives <code>503 Service Unavailable</code>.</p>
  
  <ul>
  <li>I am using AWS EC2 to host the app with a HAProxy Load Balancer.</li>
  <li>Using Google Domains for DNS Name.</li>
  </ul>
  
  <p>Any suggestions for troubleshooting this problem?</p>