How to host a php and node application

Hey guys, I have never hosted a node application before but i have this website written in PHP and node. I used node and vue to create the admin panel page and the booking process. Is it possible to host this website with PHP and node

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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 @pujeremy27,

What you could do is use Nginx as a reverse proxy for your Node application and also use PHP FPM with Nginx for your PHP application.

What you could do is follow the steps here on how to setup Nginx with PHP-FPM:

And also you can follow this article on how to prepare your Node JS for production with Nginx:

Hope that this helps! Regards, Bobby