redirect to subdirectory of website

Discussion in 'General' started by JESUSSAVES, Oct 18, 2011.


    JESUSSAVES New Member


    I'm doing a "Subdomain for website" (page 98 in manual). I've uploaded a "sales" directory to my document root (/var/www/ and entered this information and clicked save.

    Host: sales
    Redirect Type: L
    Redirect Path: /sales/

    I enter into my browser, however I'm getting a MozFF error "Sorry, Page not found".

    What mistake could I have made or how can this be accomplished? I'd like to give my users the opportunity to use this function.

    Thank you, thank you.:D
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?

    Please be aware that you can only have html pages in the sales directory and no php scripts. The recommended option for subdomains that have their own directory is to create a website and not use the subdomain function.
    Last edited: Oct 18, 2011

    JESUSSAVES New Member

    have installed ISPConfig

    The reason I like this feature is so that (i'm using the domain module) I don't have to create a new site for them, and I want to be able to tell them how to use the feature.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you created a dns a-record for in the zone that points to the IP address of the website where you added that subdomain?

    JESUSSAVES New Member

    Oh. :eek:

    It works now! Thank you!!!

Share This Page