As a web developer, I am often tasked with installing and setting up my clients web servers to host the website or application I am building for them. I use Digital Ocean for my own hosting and prefer to use for my clients due to the good pricing and simplicity of use. I think its a great company!
Currently for a new client site running a WordPress site I have to go in and create a new Droplet with pre-installed LAMP server on a 5gb VPS and then install WordPress or for some clients I can use the pre-built droplet that has WordPress but requires a 10gb VPS.
What my end goal is, is to have a droplet image I can use to build a client server that has all this…
I realize I could build a server with all this and then make a copy of it as an image and then use that image when building a new droplet. My issue with this approach is I want to automate it even more by having it where I can enter the domain name for the new project and have that domain name be used to setup the virtual hosts pointing to the WordPress install and also option to enter some default emal addresses on the domain and have them setup by default as well. THis would probably use the DO API in a PHP script where I go to a page and input the domain name and any email addresses to create. Maybe even some usernames and passwords for WP admin.
Im just curious if what I want to do is possibble? IF it is, how difficult would it be?
I have read of people using an image for a droplet but to me it has the problems:
Any help, ideas, inpuit appreciated to point me in the right direction thank you
(keep in mind i’m not a server admin, simply a web developer)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!