Requesting how to make a server redirect to another.

How would I be able to make a ZS server redirect to another?

I’ve seen stuff like this before, BUT the connect command is blocked, and I don’t know how THEY can do it. HELP PLEASE!