Can someone tell me how I can redirect x.domain.com to www.domain2.com in nginx without using the rewrite module/functionality?
In Nginx alone, impossible. Outside of Nginx, you could use an HTML page with a meta-redirect or use PHP to send a location header.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago