upgraded to 2.2.33 now every website goes to www folder

Discussion in 'General' started by nsansari, Sep 6, 2009.

  1. nsansari

    nsansari New Member

    following my server being hacked (previous post), i've upgraded from 2.2.18 to 2.2.33 and it went smoothly.

    However now everysite simply goes to the www folder where all the folders for all websites on the server can be seen. Not sure where to look to resolve this.

    Any one with any ideas , much appreciated. ?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Is Vhosts_ispconfig.conf included at the end of your main Apache configuration file?
     
  3. nsansari

    nsansari New Member

    thanks for the reply falko

    yes, apache2.conf last line reads

    Include /etc/apache2/vhosts/Vhosts_ispconfig.conf

    however i have to mention I've changed the ip of the server and also updated vhost_ispconfig.conf

    but now when i went into it each vhost section has reverted back to old ip. so now i have found out then every time i restart the web server it changes the ip back to the old one.

    any ideas ?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Did you change the IP in ISPConfig under Management?
    You also have to change the IP for each single web site in ISPconfig.
     

Share This Page