vhost.err created after addding subdomain, can't find the error log

Discussion in 'Installation/Configuration' started by ayublin, Mar 11, 2014.

  1. ayublin

    ayublin New Member

    Hi Everyone,

    My server information:
    - Centos 6 64bit
    - Nginx Web Server
    - PHP-FPM
    - ISPConfig 3
    I created a subdomain, but haven't got it to work properly, then I noticed that an error file of vhost created under sites-available dir:
    I am trying to find the log file that gave info on what errors thrown by the vhost file but haven't been able to find it, any clue? Thanks a bunch in advance!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    A .err file is created when nginx refused to start with the new configuration, in such a case the new config is saved as .err file and the last working config is used instead. Rename mydomain.com.vhost to mydomain.com.vhost.bak, then rename mydomain.com.vhost.err to mydomain.com.vhost and restart nginx, it should show you the error message on the screen then and in the global nginx error.log or the error.log of the website.
  3. ayublin

    ayublin New Member

    Thanks! I did that but the error is not related to my sub domain issue. Anyway got it working now, turns out that it's the crazy browser cache, sub domain works upon trying on another browser :)

Share This Page