restarting services from a different site on the server

Discussion in 'General' started by badben, Mar 14, 2006.

  1. badben

    badben ISPConfig Developer ISPConfig Developer

    Would it be possible to create a script which when run would restart say the webserver or mysql server form a site setup with ISPconfig on the server, i.e. not the control panel.

    The problem is I can't access port 81 at work because of the firewalls.

    I want to create an admin section an a site (on port 80) so that I can restart any services if they go down.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you shall consider running ISPConfig on another port, e.g port 8080 if you where able to access this port instead of writing another interface to restart daemons on your server.
  3. badben

    badben ISPConfig Developer ISPConfig Developer

    where would I need to make the changes?
  4. falko

    falko Super Moderator ISPConfig Developer

    Change the port in /home/admispconfig/ispconfig/ and in /root/ispconfig/httpd/conf/httpd.conf. Then restart ISPConfig:
    /etc/init.d/ispconfig_server restart

Share This Page