<?php
// Зписываем страницу в переменную:
$html = file_get_contents("https://site.ru/page/test.html");
// Делаем простейшую автозамену:
$html = str_replce('="//', '="https://', $html);
$html = str_replce('="/', '="https://site.ru/', $html);
echo $html; // Выводим результат
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Пример</title>
<style>
.fixed {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
iframe {
width: 100%;
height: 100%;
margin: 0;
border: 0;
outline: 0;
}
</style>
</head>
<body>
<div class="fixed">
<iframe src="http://site.ru/page/test.html"></iframe>
</div>
</body>
</html>