Domain points to nginx root folder instead of /var/www/mydomain/web

Discussion in 'Installation/Configuration' started by ijujym, Aug 20, 2012.

  1. ijujym

    ijujym New Member

    After adding and configuring domain in ISPconfig it shows the files from

    Code:
    /usr/share/nginx/html/
    instead of
    Code:
    /var/www/mydomain/web
    What can be the reason of such issue?
    Any advice or reference about this would be greate, Thank you!
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Does the newly created vhost exist in /etc/nginx/sites-enabled/?

    Do you use the site's domain to access the site, or do you use an IP address? As this is a name-based vhost, you must use the domain.
     
  3. ijujym

    ijujym New Member

Share This Page