title: Django nginx Refused to display in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'
body: <p>I have deployed a django web application on a server with nginx and uwsgi. I can access the site perfectly using the ip address. </p>
  
  <p>I purchased a domain name say abc.example.com and pointed it to my ip address. Now when i go the domain name it loads a blank page and throws an error in browser console:</p>
  
  <p>In Chrome:</p>
  
  <pre><code>Refused to display 'ip address' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
  </code></pre>
  
  <p>In Mozilla:</p>
  
  <pre><code>Load denied by X-Frame-Options: 'ip address' does not permit cross-origin framing.
  </code></pre>
  
  <p><strong>The point is I dont have any iframe in my whole Application.</strong></p>
  
  <p>What is this error and how can i solve it?</p>
  
  <p>When i go to application using ip address it works perfectly as it is supposed to be. Then what is the problem with domain? I double checked the settings in dns zone on godaddy but couldn't figure out anything.</p>