Redirecting

Hello,wanted to see if anyone can help me out here so im posting in this section.I have a server and will be moving hosts but I will have the server for another month just to notify people of the op change and was wondering if there is anyway to redirect people when they join server to a different server just like in CSS.

So that they lets say join Server1 and it redirects to Server2.

I’d imagine that it works just the same as CSS pretty much, but I don’t know how it works in CSS