Easy way to place upload folder on a different web server

Hello,

I have a question :

Does wordpress allow to have the upload folder on a different webserver?

To explain more : have wordpress and DB on a server and all files uploaded on another server with different IP.

Is there an easy way to do that?

or need some complex code?

Thank you