Next.js Discord

Discord Forum

Deployment on custom server

Unanswered
MeKa posted this in #help-forum
Open in Discord
Can both the next.js application and the php (mysql) site be hosted on the same server?


I saw this source link here again, but it completely removes Apache2, so can't both next.js and php be used?
https://youtu.be/HIb4Ucs_foQ?si=Z4v8uI6KrRF0er7y

8 Replies

You can. I see no reason you cant.
I primarily use nginx, and nginx as a reverse proxy to route my traffic.
Im assuming the same can be done with apache
I have no idea if it's possible without including Apache2.
I mean, what are they using instead of apache?
I am currently using nginx on my server for my site, but I also wanted to include php, mysql etc.
I dont know what that means man, Im not going to watch that whole video, if they are suggesting to use another service to host your product then you will need to see what the capabilities are.
I understand, let me do some more research. I would be more happy if at least someone with an idea came out and shared the source. Thank you too for your interest and understanding.