I have to change my domain name, any problem?

Hi! I must change my domain name asap due to some unaware copyright issues. My question is, when I do it (I can’t even redirect or anything, I have to disable my current domain) How can I change my whole mautic setup? Is there any file that I can change my main domain or something?

Thanks

Hi! I must change my domain name asap due to some unaware copyright issues. My question is, when I do it (I can’t even redirect or anything, I have to disable my current domain) How can I change my whole mautic setup? Is there any file that I can change my main domain or something?
Thanks

thanks. If I use a subdomain in other domain name, it’s the same thing right?

from: domain.com/mautic/
to: mautic.domain2.com

Forgot to mention: my database (host, name and username) may have to change too, not sure yet.
I may utilize this need to change my server as well.