Hello,Welcome to my First Series, today,I will be explaining how you can deploy your Laravel application to Ubuntu Server on Digital Ocean.
This series is divided into 5 parts
- How to Create a digital Ocean droplet for deploying a Laravel application.
- Setting up our environment to host our Laravel application with MySQL ,Apache.
Setting up our environment to host our Laravel application with MySQL ,Nginx
Adding a domain name and securing our Laravel application on digital ocean
- Adding free SSL certification to our laravel application 6 Adding PhpmyAdmin to Ubuntu server so we can import and export database
Note when you are signing up on Digital Ocean you will be required to add your card details so that it will be associated with your account in case of future payment. Digital Ocean will make a debit of $1 to the account but it will be credited back,as this is use to verify that the card linked is a valid card.
When you are done with creating your account you can click here so it will open the link on a new tab ( a quickly navigate you to your control panel).
At the top right,you will see a green button like the one below,click on it and select Droplet(Create cloud server). Please ensure you select droplet because that is our main focus in this article.
It will load another page so you can configure the capacity of your Ubuntu cloud server.Follow the screen shot below as they are self explanatory
Here I am using a basic server to host my laravel app
Enter the host name and click on the green button to create the droplet using the specification.
Hurray,We have succeeded in creating a digital ocean droplet, you should be able to see a similar page as the one below
Now we need to ssh into the Ubuntu server so we can install the necessary extension to run the Laravel App,we continue that part in part 2 of this series.
Thanks for reading,Cheers
Did you find this article valuable?
Support Sylvester Amaechi by becoming a sponsor. Any amount is appreciated!