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

You don’t have a https cert for the www. You can search here for how to create a very cert for multiple domains, but you’ll need to modify those and it’s a bit tricky.

The easier solution I to use www instead of using the bare domain and have forcewww.com redirect to the www for you.