2017-06-19 I am new and Nginx and i really look vary nice and fast. i have problem with CNAME domain, i have define my server block as bellow ~^.*$ i use to catch all domains now i have one other domain which have cname as bellow t.domain1.com CNAME t.example.com when i open http://t.domain1.com in browser it show website and every thing is fine but but i am using URL rewrite too and when i try to use URL AS bellow Website work fine but in browser address bar URL change as bellow where 192.87.xx.10 is my server IP. how can i keep the browser URL http://t.domain1.com even it redirect to my website? here is my config file Thanks