I have domain like, example.com where I want https://example.com
to be redirected to https://www.example.com/
Does anyone have any recommendation on how to set this up?
I tried setting up a apache virtual host for example.com on the same server and added a redirection rule. But, https://example.com
does not redirect. Instead, files get served for the request.
I also get the error _default_ VirtualHost overlap on port 443, the first has precedence
when starting apache.