Force non-www to www redirect

Now I noticed that http://domain.it redirects to https://www.domain.it but https://domain.it doesn’t.

Is there another way than forcewww?