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
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

subdomain redirect

Discussion in 'Plesk for Windows - 8.x and Older' started by JustinK101, Jul 10, 2006.

  1. JustinK101

    JustinK101 Guest

    I used to be using Cpanel and there was an option to redirect a custom subdomain to a fully qualified web address.

    For example:

    mysubdomain.mydomain.com points to http://google.com.

    How do I do this in Plesk?
  2. dkirin

    dkirin Guest

    I want to know how to get redirect working as well. Please help!
  3. elderban

    elderban Guest

    There should be an option on your menu.

    1. Click on Domains (if you're admin)
    2. Click on the Domain you want to add a sub-domain to.
    3. Under "Hosting", there should be an icon that says "Subdomains".

    If not, chances are that your host does not allow them or that they are an additional feature that you have to request from them.

    4. If you are able to create a subdomain, Plesk will create a directory with that name in your subdomains folder (ie. google.yourdomain.com will create a directory called google)

    5. In the directory that it creates (subdomains/<subdomain name>/httpdocs), you can put a redirect.

    For example, edit the index.html file of that directory to read something like:

    <META HTTP-EQUIV="refresh" content="0;URL=http://domain.to.redirect.to">
  4. JustinK101

    JustinK101 Guest

    Yeah I know how to do an HTML redirect, but I want to do a dns redirect.

    I know Cpanel can do it, so there is a way. I think it involves a ptr record or cname, I will investigate and get back.
  5. elderban

    elderban Guest

    You'd forward it with the IP using a CNAME in the DNS, but then you would have to have apache on the other server point it in the right direction.

    The way CPANEL does it is that it creates a directory then puts an htaccess file in that directory that forwards it to the correct domain, link, etc.
  6. JustinK101

    JustinK101 Guest

    Yeah I did it manually through IIS manager. I selected the domain, went into properties and then changed it to a redirect. Sometimes plesk makes me angry, so you gotta do things yourself.