Hello,
i install Nginx on server and set my config file exactly like
https://kb.mailwizz.com/articles/nginx-server-basic-configuration-for-mailwizz/
i only make change in servername like this
server_name example.com www.example.com ~^.*$;
~^.*$; mean to accept all domains, which is working.
the only issue is when user click on unsubscribe link , it bring server IP in address bar.
how can i set tracking domain in Nginx ?
i have different domains as tracking, and each domain name CNAME record which point to main tracking.example.com
like
tracking.domain1.com CNAME tracking.example.com
tracking.domain2.com CNAME tracking.example.com
and CNAME is define as
tracking.example.com CNAME 192.XX.XX.12
what i want is to keep the tracking domain in browser bar and show the page without server IP.
one important thing when i use tracking domain like this, it work fine
http://tracking.example.com/lists/215jwrt12/unsubscribe/ab97ek7f130/axy742ad3zy272
but when i use like this
http://tracking.example.com/campaig...7ek7f130/13ab53c24b1786a9932b030ca3860ea0a538
URL of page became like bellow
http://92.xx.197.97/campaigns/axy74...7ek7f130/13ab53c24b1786a9932b030ca3860ea0a538
Thanks
i install Nginx on server and set my config file exactly like
https://kb.mailwizz.com/articles/nginx-server-basic-configuration-for-mailwizz/
i only make change in servername like this
server_name example.com www.example.com ~^.*$;
~^.*$; mean to accept all domains, which is working.
the only issue is when user click on unsubscribe link , it bring server IP in address bar.
how can i set tracking domain in Nginx ?
i have different domains as tracking, and each domain name CNAME record which point to main tracking.example.com
like
tracking.domain1.com CNAME tracking.example.com
tracking.domain2.com CNAME tracking.example.com
and CNAME is define as
tracking.example.com CNAME 192.XX.XX.12
what i want is to keep the tracking domain in browser bar and show the page without server IP.
one important thing when i use tracking domain like this, it work fine
http://tracking.example.com/lists/215jwrt12/unsubscribe/ab97ek7f130/axy742ad3zy272
but when i use like this
http://tracking.example.com/campaig...7ek7f130/13ab53c24b1786a9932b030ca3860ea0a538
URL of page became like bellow
http://92.xx.197.97/campaigns/axy74...7ek7f130/13ab53c24b1786a9932b030ca3860ea0a538
Thanks
Last edited: