title: InfluxDB & Grafana Cross domain error
body: <p>I receive the following error when i try to access InfluxDB admin UI or via Graphana:</p>
  
  <pre><code>Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://54.zzz.xx.yyy:8086/cluster_admins/authenticate?u=abc&amp;p=dec. This can be fixed by moving the resource to the same domain or enabling CORS.
  </code></pre>
  
  <p>Note that I get this error only when I try to connect via Internet, when I go to the servers local network and change the public IP mentioned above to local IP, everything works.</p>
  
  <p>Now I understand what is cross-domain error and CORS, I also get that I need to enable CORS as the error says in InfluxDB server, point is I don't know how to do that.</p>
  
  <p>InfluxDB is on a Ubuntu server 14.something on AWS.</p>