Question

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

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


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 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. ;)