I am having trouble figuring out my DNS record types. I want the www subdomain to be my "canonical" page, so my configuration looks like this:
www A record type actual ip address
@ 301 redirect www address
Is this correct? Do I need to replace the 301 redirect with a CNAME record type? From what I understand, CNAME is supposed to be used for www and @ is supposed to be the canonical, but I want it the other way around.
I am also concerned about SEO, but I am not sure how having a CNAME record instead of a 301 redirect affects this.
An additional issue I am having with this setup is that I can't use [email protected] for SSH and I need to use [email protected]. But this is just a minor nuisance.