www to non-www
Posted: Sun Dec 06, 2020 1:21 pm
Hi,
I just installed myvestacp panel, added domains, activated SSL and installed wordpress on it.
All working great so far, when I type: example.com in browser it redirect me to my website with: https://example.com - that's ok,
but when I type: www.example.com I get a site with message: "Nginx is functioning normally" - instead redirecting me to my website.
I added correct www to non-www redirection in htacces but not working.
How to solve it, that the domain is always correctly redirected to the right website.
Web Template: PHP-FPM-73
Proxy Support: yes
SSL Support: Lets Encrypt
Proxy Template: force-https
I just installed myvestacp panel, added domains, activated SSL and installed wordpress on it.
All working great so far, when I type: example.com in browser it redirect me to my website with: https://example.com - that's ok,
but when I type: www.example.com I get a site with message: "Nginx is functioning normally" - instead redirecting me to my website.
I added correct www to non-www redirection in htacces but not working.
How to solve it, that the domain is always correctly redirected to the right website.
Web Template: PHP-FPM-73
Proxy Support: yes
SSL Support: Lets Encrypt
Proxy Template: force-https