My zone file records (setup by my host) contains amongst other records. I'm not doubting my host, rather I'm trying to understand practicals of DNS. I don't want to use support for learning technicals
mydomain.org.uk. 14400 IN A XXX.XX.XXX.XXX
mail.mydomain.org.uk. 14400 IN CNAME mydomain.org.uk
www.mydomain.org.uk. 1400 IN CNAME mydomain.org.uk
Currently setting up the website. I can access my website using http ://, foo.bar, http :// www.
I aim to make http[s]://www, the default - not by using a .htaccess permanent redirect, but by specifying this
in the WordPress SiteURL. However.
Does the www -> CNAME > mydomain have any bearing on my intention to set http[s]://www,?
If CNAME is used for essentially redirecting requests from www.domain.org.uk
, might it be better
to set www.mydomain.org.uk
-> IN -> A -> XXX.XX.XXX.XXX?
Previously, the zone contained:
www.mydomain.org.uk. 1400 IN CNAME www.mydomain.org.uk.cdn.cloudflare.net
cloudflare-resolve-to.mydomain.org.uk. 1400 IN CNAME mydomain.org.uk
If it might be better
to set www. to A IP, would it still be possible to Add CNAME as above example, anytime post website-live?
To confirm, a zone file has no bearing or implication on setting http[s]://www. in WordPress? Ref: http://codex.wordpress.org/Function_Reference/redirect_canonical
Note: I understand that www. CNAME resolves to A IP.