Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thesimons's avatar

Routing a URL to another server

Hello,

I'm developing an app where users can upload files. Being a bit paranoid about users uploads I'd like to know if it's possible (and how) to route a possible URL like /upload to different server than main one.

To give me more details I'm going to deploy a Laravel installation on the second server.

Thanks, S

0 likes
1 reply
tisuchi's avatar

@thesimons I don't have any experience with it directly, but I don't think there is a straightforward answer to it. It may not be possible directly to handle the code base without tailoring on server configuration, which is at least my understanding.

Please or to participate in this conversation.