I have a multi-tenant app where the user gets a subdomain youraccount.myapp.com
that works fine. I have some customers who want to be able to have their own domain that redirects to the subdomain. So something like foobar.com --> youraccount.myapp.com. I'm pretty sure I've got the logic down in my app, but I have no idea how to test this on the DNS CNAME side of things. I don't want to launch this feature without seeing it work locally.
I feel like adding a host entry isn't going to test the logic, but maybe I'm wrong? Anyone know how to test this?