web folder

Discussion in 'Installation/Configuration' started by wadims, Apr 25, 2006.

  1. wadims

    wadims New Member

    Hi,

    Maybe I am dumm, but I don`t understand one thing...

    All sites (using ISPConfig) are stored at e.g. /var/www/ , right?
    Then why every new site has it own structure in which folder "web" in which are html and php files ar stored...?
    Because, when I go to 81.XX.XXX.XX/www.newdomain.com , it shows PERMISSION DENIED, but when I go to 81.XX.XXX.XX/www.newdomain.com/web it shows the page? Is it possible to redirect somehow www.newdomain.com to www.newdomain.com/web atomaticly?

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig uses namebased vhosts, not IP based. This means you can only access the sites by their domain, not their IP address.

    If your domain is not listed in DNS, you can add it to he hosts file of your workstation for testing.
     

Share This Page