I currently run a few virtual hosts on apache, none of these are Wordpress, all on a LAMP setup
I need to host a Wordpress site But do not want to buy another server as the one with existing sites is more than enough
My questions
Is adding docker Wordpress the best option Is it ok to install the containers under my current structure, eg /home/sitename/public_html/ then install Wordpress etc here
Is there a link to best practice to do what Im doing
Thanks in advance
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.
Hi there,
Running WordPress in a container is one option, but as you already have LAMP installed, you could just install the WordPress in a specific directory rather than containerizing it.
You can follow the steps from this video here starting at 06:30, it will show you how to download the WordPress files, create a new Apache virtual host, create a new MySQL database and user and install WordPress:
Let me know if you have any questions. Regards, Bobby