run ispconfig on demand

Discussion in 'General' started by sygram, Jan 3, 2019.

  1. sygram

    sygram Member

    Hi there.
    I have a server that i wish to run ispconfig on demand. Is it safe to remove :
    sites-enabled/000-apps.vhost
    sites-enabled/000-ispconfig.conf
    sites-enabled/000-ispconfig.vhost
    from apache and add the symlinks when it is needed ?
    Is this going to conflict with cron jobs ispconfig/server/server.sh or ispconfig/server/cron_daily.sh ?

    Thank you very much
    Regards
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. sygram

    sygram Member

    Thanks for the reply.

    There is a new company guideline to run only the absolutely needed apps/services at any time. Ispconfig is used to configure in-house domains, so it could be turned on/off when needed.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I suppose there are needed websites so you can not turn web server off?
    I think you can stop apache, disable the websites not needed running and start apache back. Make scipts you can start somehow to do this and enable websites back.
     
  5. sygram

    sygram Member

    There is no issue in stopping and starting apache momentarily. Only ispconfig needs to run when needed. All the other websites will run all the time.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, you can do that, but only the ispconfig and apps vhost, not the ispconfig.conf file. Instead of removing the vhosts you should consider if it's not easier to close port 8080 and 8081 in a firewall.
     
  7. sygram

    sygram Member

    Much better solution. Thank you very much !
     

Share This Page