Important: This guide presumes you have a Bunnyshell account and that you’ve successfully connected your cloud. If you haven't connected your cloud yet, check out this guide.
Here is a short breakdown of a custom PHP application in Bunnyshell:
-
a custom PHP application would be equivalent to a website.
-
You can create multiple PHP applications on the same virtual machine/server. Each application has its own FTP access and you can also add a separate database for each if you need to. On the overview page of each application, you will find the FTP credentials you can use on your FTP client. As such you can upload your HTML files. When you create a PHP application, a unique domain name will be generated by default. You can change it at any time by going to the Domains tab on the application page in Bunnyshell.
-
When you create a custom PHP application on a new VM, it will add Apache as a default web server. If you have an existing virtual machine with Nginx installed and you install the custom PHP application on it, Nginx will be used as a web server. Either way, a vhost will automatically be created and will initially respond to the custom bunnyshell domain name. After you change the domain, the vhost will point to it accordingly. On the OPS -> Packages page of the virtual machine on which the application is installed, if you go to Edit Apache or Nginx you will see all the vhosts configuration files for each application installed on that virtual machine and you can even edit them if you need to.
-
For now, this is the simplest way to manage a custom website with Bunnyshell, but we are working every day to improve the user experience and to reach a balance between ease of use and flexibility. Of course, any feedback is more than welcome in order for us to achieve this.
To create a custom PHP Application:
-
Click Create -> Application on the top-right corner.
-
Select the Custom tab under "Select Application".
-
Click on PHP Application (notice there are a variety of different versions, the default being the latest).
-
Select one of your existing Virtual Machines (if you don't have any Virtual Machines, create a new one).
-
Select your Cloud (assuming you've already connected your Cloud, if not, follow the above-mentioned guide).
-
Select your Location.
-
Select your Plan.
-
Choose a name for your Application.
-
Hit Create.
-
Wait for your deployment to finish and you're all set!