How to change the IP address for the site domain?

How to change the IP address for the site domain? Usually, I do the configuration and testing on site while it is still in the IP address (xxx.xxx.xxx.xxx). Once I finished setting up, I need to publish and make the direction for the end domain (mysite.com). Is there a quick way? Anyone recommend a step-by-step? Thank you very much for your attention.