title: Refused to display 'https:/dmain.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'
body: <p>I'm trying to embed iframe in my page but the iframe does not appear.</p>
  
  <p>This is the code : </p>
  
  <pre><code>&lt;div class=" row "&gt;
   &lt;iframe width="560" height="315" src="https://www.skyits.com/" &gt; &lt;/iframe&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>The web.config file contains the following http Protocol tags: </p>
  
  <pre><code> &lt;httpProtocol&gt;
          &lt;customHeaders&gt;
            &lt;add name="Access-Control-Allow-Origin" value="*" /&gt;
            &lt;add name="Access-Control-Allow-Headers" value="Content-Type" /&gt;
            &lt;add name="Access-Control-Allow-Methods" value="GET,POST,PUT,DELETE,OPTIONS" /&gt;
            &lt;add name="Access-Control-Allow-Credentials" value="true" /&gt;
            &lt;remove name="X-UA-Compatible"/&gt;          
            &lt;add name="X-UA-Compatible" value="IE=edge"/&gt;
            &lt;add name="X-Frame-Options" value="ALLOW-FROM https://www.skyits.com/" /&gt;
  
  
          &lt;/customHeaders&gt;
        &lt;/httpProtocol&gt;
  </code></pre>
  
  <p>I was show a lot of questions like my question but no any solution works whit me!</p>