1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

subdomain redirect

Discussion in 'Plesk for Windows - 8.x and Older' started by AbsolutelyFreeW, Nov 10, 2004.

  1. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    0
     
    I can't find an easy way to redirect subdomains. How is it done? should be under subdomain link in the control panel...
     
  2. servmin

    servmin Guest

    0
     
    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/");

    ?>
     
  3. AbsolutelyFreeW

    AbsolutelyFreeW Guest

    0
     
    thanks,

    you can also do it directly from IIS Gui.
     
Loading...