M
M
mitaichik2016-05-07 16:42:33
System administration
mitaichik, 2016-05-07 16:42:33

How to redirect https requests to another server in Ubuntu?

Hello!
I transfer the server (http/https nginx/php) to another hoster, respectively, the server IP address changes, the domain remains the same.
The specifics of the project is such that I cannot leave 2 servers working (while DNS is being updated) - only one should process requests.
Therefore, I thought of transferring everything to a new server, and on the old one, just set up a redirect (so that it receives a request on its ip, and redirects it to the new server, and returns a response from the new server to the client).
How to do this?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fixid, 2016-05-07
@mitaichik

Nginx proxy_pass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question