I am using node.js on my rackspace server to serve my various applications. (Using node-http-proxy).
However, i would like to start a wordpress blog. The only way to serve the blog is via apache (or nginx).
Is there a way to server my wordpress blog from a node.js application itself?
By using Node. js or Go language to developed WordPress and instead of the PHP, it will reduce the loading time faster and more effectively.
If you're looking for a fast, scalable hosting option for your business (or any type of site), then you're right to be interested in Node. js!
Node. js is the most famous tool used for backend development. It can be used to create dynamic social media apps with chats, likes, and comments. It also has excellent data processing capabilities.
You can run node and PHP on same server, and even on the same port. The key is to use a server like nginx in front listening on port 80, set up PHP in Nginx as you normally would (using php-fpm) and set up your Node instance to listen locally on some high port like 8081.
You need some server running to execute the PHP. Node is JavaScript.
Whether that's apache, or nginx/php-fpm or just php-fpm, you need something to actually run the wordpress code, then use the same proxying system you are using now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With