restarting services from a different site on the server

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

  1. badben

    badben New Member

    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.

    Ben:confused:
     
  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 New Member

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

    falko Super Moderator Howtoforge Staff

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

Share This Page