We have a preview account for testing and enterprise account. Can we use the same sender email . address and mail.mycompany.com DNS for both?
I believe it is fine because the required DNS records can be defined multiple times per domain:
No, this can not be done, because, once the first mail domain is registered, Okta will not be able to register the second with the same details inside the SMTP server used.