example.com -> www.example.com

I want to redicrect my root to www, so that users can write example.com instead of www.example.com. What is the prefered way of doing this? Can I just add a CNAME record, or should I use rules. We also have autodiscover running as CNAME. Does creating a root redirect mess with that or does it prioritize specificity?
4 Replies
frederik
frederik10mo ago
A CNAME is no redirect. A CNAME just says "to get my IP look for the IP of example.com". You should use redirect rules. No this CNAME doesn't mess with autodiscover.
Storm Søndergaard
Storm SøndergaardOP10mo ago
What is this about then?
No description
Storm Søndergaard
Storm SøndergaardOP10mo ago
Would this be correct?
No description
Storm Søndergaard
Storm SøndergaardOP10mo ago
red = example.com I forgot to add the A record to 192.0.2.1, so that the redirect rule works How do i mark this as solved?

Did you find this page helpful?