Mautic custom domain

Hello, I installed mautic on google cloud VM. So, righ now, I open mautic on google’s static IP. I think the open tracking is messed up because of that and I want to change it to custom domain. Can someone please explain in short how to do it. I will google the rest. Thank you

I figured it out. I opened console and typed this:
sudo nano /etc/hosts and added new line with static ip and my desired domain name.

After than went to name cheap and from that same domain I own, created A record ,@ and pointed to the IP google provided me.