Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67527

Displaying a local webpage using iframe from a public page

$
0
0

I have a local website http://10.100.1.212 this site works locally

I also have a public website http://www.xxxx.com hosted somewhere in the cloud.

On the public website I want to use a iframe to a local website such as: <iframe src="http://10.100.1.212"></iframe>

This only should and needs to work when I am calling the public webpage whilst being within the local network. (Its a kind of intranet). However, it does not work, nothing happens within the iframe.

I thought the content of the iframe is called from the browser, so that should work since both the browser and the target url is local.

Edit: Just made a test with a local website including the iframe. This works. The only explanation for this behavior I have is that the webserver (which is remote) verifies the src domain before. I always thought iframes is something which is dealt with only locally by the browser.


Viewing all articles
Browse latest Browse all 67527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>