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 forwarding instead of hosting

Discussion in 'Plesk for Linux - 8.x and Older' started by dimmsie, Feb 13, 2005.

  1. dimmsie

    dimmsie Guest

    hi forum!

    I installed PLESK 7.5.2 this weekend on my root server.
    Everythings working now, but I want to create subdomains via PLESK and forward them to a url like http://www.anything.com/something/somefile.php

    Is there a possibility of doing so?
  2. mattewers

    mattewers Guest

    The simplest way, if you don't mind using up a domain name to do it, is to just create it as a new domain. Just set the hosting type to standard forwarding or framed forwarding and enter the url you want it to redirect to.

    you could also set up the subdomain as usual and use:
    - a php/asp page (index.php) containing code to redirect the user to the URL you want
    - or add an entry to .htaccess to redirect requests for the subdomain to the URL you want
    e.g. redirectPermanent /index.htm http://www.website.com/page-new.htm
    - or just about any other type of 'redirect' mothod