I have got two servers (A and B) with NGINX. Server A is serving old site and server B is serving a new site. I've updated my DNS but it is quite slow: in my office I still see my old site:
subdomain.site.com
How can I redirect all requests from server A for this particular subdomain to server B?
Now they both are handled with this in NGINX:
server {
listen 80;
server_name subdomain.site.ru;
root /var/www/subdomain/public;
passenger_enabled on;
}