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
z0rrn
z0rrn3mo 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
What is this about then?
No description
Storm Søndergaard
Would this be correct?
No description
Storm Søndergaard
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?
Want results from more Discord servers?
Add your server