application start point

Discussion in 'Site Programming, Development and Design' started by Kaihatsusha, May 6, 2010.

  1. I want to organize my website inside a folder, not to put all those files in root directory.


    how can I make this possible,

    currently, if i type mydomain.com

    it will read the root (/) directory

    here is what I want to accomplish..

    i put all the files of my site to a directory

    /Folder


    then, whenever I visit mydomain.com

    it should consider /Folder as the root, and it should read index.html of /Folder



    thanks
     
  2. Ray

    Ray

    You will need to setup a redirect script. You can either code the redirect script with a response.redirect or use the URL rewrite module in IIS 7 Manager to create a redirect rule.
     
  3. then what does domain pointer do?

    thanks. i know i can do it using a rewrite module, but is it the only way?
    how about the domain pointer, as available in the control panel?
     
  4. Ray

    Ray

    The domain pointer is a feature that allows you to point an additional domain name to your site, but the process is still the same because it will start at the root not in a sub folder.
    Unfortunately this is how it is on a Windows platform configured as a shared hosting environment.
     

Share This Page