<?
 $server = $_SERVER["SERVER_ADDR"];
 header("location: https://$server");
?>