Manage Server

Manage Server


Creating Server on DigitalOcean


  1. For creating the server with Digital Ocean the primary requirement is to setup the server provider.

    1. To setup the server provider connection, click on Manage from top menu & then on Server Providers.

    2. Then click on the Setup New Server Provider Connection button.

    3. Select server provider as per your choice (Currently available DigitalOcean only).

    4. Then add title of your server provider.

    5. Click on the Connect button, now your server provider is connected & shows in the list. 

  2. Once you setup the server provider then you can create the server by clicking on the Server from top menu.

  3. After that click on the Digital Ocean Droplet to create new server on DigitalOcean.

  4. Enter Name of your server then select Provider, Provision As, Server Size, Server Region, PHP Version & Database one by one.

  5. To create server with selected credentials click on the Submit button.

  6. You may also connect to the provisioned server or can provision the new custom server.




Connecting fresh Ubuntu Server


  1. For connecting the fresh Ubuntu server to ServePHP first you have the fresh Ubuntu 18.04 x64 server. Here we are using the DigitalOcean Ubuntu server.

  2. Then to connect with the already created server you have to run the following command on terminal as ssh root@IpAddress (At the place of IP Address use the actual IP Address of fresh created Ubuntu server on DigitalOcean) & click on the Enter button.

  3. Now to connect the Ubuntu server with ServePHP click on the Custom server from ServePHP which opens the dialog as Provision New Custom Server.

  4. First add the Name of the server.

  5. Then select Provision As, add SSH Port, select Database & PHP Version.

  6. At last add IP Address of Ubuntu server & click on the Provision Server button.

  7. After click on the Provision Server button your custom server provisioning will gets starts & also it will show you the one command.

  8. Now you have to login with root user account on terminal & copy the above given command & paste it on the terminal.

  9. After few minutes your Ubuntu server is connected with the ServePHP.



Server Settings


  • SSH Keys


  1. The SSH Key can be used to login to your server without a password. 

  2. Each user inside server can have multiple SSH keys attached to them. For ex. if you want a team member to be able to login to your server under username servephp, just add another SSH public key to the server. After that, the team member can login to your server without any password.

  3. If you do not have any SSH key pair inside your computer, then just issue ssh-keygen inside terminal (Linux & MacOS).

  4. On Windows you can use the git bash to generate SSH key. 

  5. Then you can get the SSH public key by issuing cat ~/.ssh/ which you can register inside ServePHP.

  6. You can install new SSH Key for the server by clicking on the SSH Keys from settings of the server.

  7. If you don't install the new SSH Keys for the server then server uses the default SSH Key which is automatically installed on every server while provisioning.

  8. You can install new SSH Keys using the following, you just need to add the Name of key & Key. 

  9. Deleting the SSH Key will remove the key from the server.



  • Cron Jobs


  1. Cron is a time based job scheduler. The use of cron is to schedule the jobs to run periodically at fixed times or intervals.

  2. You can set the certain command to cron job, it will honour time that you have set & will run the command according to time.  

  3. For scheduling the Cron Job for any command you need to click on the Add New Cron Job which opens the form like follows.



  1. To schedule new cron job you need to first add the command to ron the cron job.

  2. Then you can add your user.

  3. After that you can select the Common Setting from the given settings or you can create your customized settings as per your choice.

  4. At last click on the Submit button.

  5. If you are no longer using any cron jobs, you can click the delete button to delete that job which you want. It will never impact on any other cron job.


  • PHP Settings


  1. You can manage settings of PHP files using this PHP Settings.



  1. Using the Post Max Size you can set the maximum size of file for POST data.

  2. You can set the maximum file upload size from Max File Upload Size.

  3. From the Memory Limit you are able to set the memory limit of php file. 

  4. Also you can edit the PHP FPM configuration by the on the Edit PHP FPM Configuration button on PHP page.



  1. To save the changes click on the Submit button on Edit PHP FPM Configuration dialog.

  2. By clicking on the Edit PHP CLI Configuration button on PHP page you can edit the PHP CLI configuration.



  1. To save the changes click on the Submit button on Edit PHP CLI Configuration dialog.



  • Firewall


  1. To manage firewall rules click on the Firewall from server side menu which opens the firewall page with to add new firewall rule & view the existing firewall rules.

  2. To add new firewall rule first you need to add the Name of the new rule.



  1. Then you have to add the Port/Service for new rule.

  2. After that select the Rule Allow/Deny. At last you can add the IP Address & IP Address To which is optional.



  1. Also you are able to delete some existing firewall rules.


  • Process Supervisor


  1. Under process supervisor you can add the supervisor job for the process.

  2. To add the new supervisor job for the process click on the New Supervisor Process Job button which opens the dialog to add new job.




  1. To add new supervisor job first you have to add Command & then Directory (Which is optional).

  2. Then you have to add User & Number of Processes.

  3. Finally to create the supervisor job click on the Create button.