I have a Heroku app and I need to set up a domain for it. The common way to set it up is to use CNAME record to specify that this domain is an alias to
<your-domain-name>.herokuapp.com. The thing is, I also want to add Google Webmasters and Yandex.Metrika integrations and the easiest way is to add two TXT record for the domain. I set it up like that:
I need to have 2 TXT records on http://www.cscombo.com, but apparently this won't work because of this: https://stackoverflow.com/questions/34613083/cname-and-txt-record-for-same-subdomain-not-working
My current setup isn't working properly, because adding http://www.cscombo.com to the Google Webmasters wouldn't work (because TXT record for the www subdomain doesn't exist), and adding http://cscombo.com (non-www version) will work (the TXT record for this subdomain exists), but this way Google Webmasters won't be able to read both
robots.txt (because they both redirect to the www version of the site). The same story with Yandex.Metrika.
So, the question: is there any way to add CNAME and TXT records for the same subdomain?