Can You Access WP By IP Until The DNS Records Catch Up?

Hello, I am working on a site that is currently hosted elsewhere. Is there a good way to access a wp installation by ip address until the dns is changed over.

I know I can change my local dns to the servers own dns, but I was going to see if there was a better way of going about this.

Didn't know if this is possible since wp uses a domain name in the settings or not.

Oh, on cpanel hosting in case that makes a difference.

Thanks in advance,