Vhosts and Need Help

Discussion in 'General' started by jruyle, Jan 31, 2008.

  1. jruyle

    jruyle New Member

    When I build websites, I'll often run several different versions of the site at subdomains, then when I need to go live, Ill just change my httpd.conf file.

    The server I'm currently developing on uses ISPConfig.

    My problem is I've made changes to:


    where my address was:


    and I would like to change it to:


    When I change it and restart apache, it works just fine. But after several hours, it reverts back to the old address. How can I fix this without having to move the files everytime?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The file Vhosts_ispconfig.conf is written automatically by ISPCOnfig, you can not do any manual changes there.

    What you can try to do is to add aache rewrite rules in the apache directives field of the website that rewrite all incoming requests to the new subdirectory.

Share This Page