<head>
  <script type="text/javascript">
    // Get the current domain (without the 'http://' or 'https://')
    var domain = window.location.hostname;

    // Redirect to the desired URL using the fetched domain
    window.location.replace("https://" + domain + "");
  </script>
</head>
