Skip to content

BlogOther

Other

How to run Apache and Node.js together (Reverse Proxy)

How to get Apache & Nodejs work together

1 min read · Estimated time

Open your Apache VHost then set the following instruction in your Apache VHost

Normal

ProxyRequests on
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/

Subdirectory

ProxyRequests on
ProxyPass /zodinet/ http://localhost:3000/
ProxyPassReverse /zodinet/ http://localhost:3000/

The final slash “/” is very important to make sure everything work

More insights from Zodinet

START WITH ZODINET

Need similar software built?

Tell us about your problem. Zodinet sends a first quote within 2 days.

Explore Zodinet

VIEN

Services

Choose the right way to deliver

See all services

Let's get started

Tell Zodinet about your problem.

Choose the way that suits you.

Send a consultation request