I manage multiple websites that currently have le suivant DNS configuration:
example.com - A Record - Production Server IP
test.example.com - A Record - Test Server IP
www.example.com - CNAME - example.com
beta.example.com - CNAME - test.example.com
dev.example.com - CNAME - test.example.com
Is this an approprié use of CNAME records? J'ai looked online et have pas found a clear answer. Some people claim that CNAME records are bad (they are not, cependant, clear on why this is) et propose le suivant setup:
example.com - A Record - Production Server IP
test.example.com - A Record - Test Server IP
www.example.com - A Record - Production Server IP
beta.example.com - A Record - Test Server IP
dev.example.com - A Record - Test Server IP
Which one of these is le better approach (and why)?
Note : The subdomains do pas require leur own MX records, so that is pas an issue here.