www not redirecting to https://
I have installed wordpress and lets encrypt by using easy engine. However, one problem I am having is that the www. version of my site is not redirecting to the https:// version.
This only seems to affect the home page.
for instance www.mysite.com just returns a nginx 503 error page. https://mysite.com loads just fine.
www.mysite.com/contact-us as a for instance does redirect to https://mysite.com/contact-us
I have created an A name record as recommended in the setup guides
which is hostname www.mysite.com redirects to “IP address”
Any help as to what I am doing wrong would be greatly appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.