How do I change ActionText Attachment url (domain name)?

You can refer to this answer for an example on how to do it: