• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

subdomain redirect

A

AbsolutelyFreeW

Guest
I can't find an easy way to redirect subdomains. How is it done? should be under subdomain link in the control panel...
 
We encountered this same issue. It's a shame Plesk doesn't have built-in subdomain redirects.

We simply created an index page and redirected the user through some simple code.

ASP.NET Version (index.aspx)

<script runat="server" language="C#">

void Page_Load()
{
Response.Redirect("http://whereveryouwant.com:8080");
}

</script>

PHP Version

<?php

header("Location: http://www.example.com/");

?>
 
thanks,

you can also do it directly from IIS Gui.
 
Back
Top