Redirection from https://www.mydoimain.com/ doesn't work

but I’m gonna be right there. If I installed lets encrypt then why shouldn’t I have a certificate for www?

Why do I need to use external solutions?