Report this

What is the reason for this report?

How do I Create a Node.js proxy server routing to Wordpress(apache)?

Posted on December 21, 2016

Hey Everyone,

I was reading this article about an interesting server setup -> https://www.sitepoint.com/universal-react-rendering-sitepoint

I’m wondering what do I need to do in order to set something like this up? Are there any tutorials on here that fit that description? Any help in figuring out this server setup would be awesome!

Thanks, Spencer



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.

Hi!

There isn’t any tutorial on DO talking about routing React/WP app.

If you didn’t already saw, at bottom of above post, there is source code for sample app. Referencing above article and source code can be helpful to build same setup.

However, this would require better Node.js, JS, WP/PHP knowledge so you can understand above code. :) If you need help with any part, feel free to ask, maybe someone will come with solution. ;)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.