New clone of WordPress site 301 redirects back to orginal site

When working with this dev site, i did not want to give it its own domain name, it was to replace the existing server as soon as i had it running.

It came down to two things. I had tried an IP here, but had forgotten to include the http://.

define( 'WP_SITEURL', 'http://123.456.789.255' );
define( 'WP_HOME', 'http://123.456.789.255' );

instead of

define( 'WP_SITEURL', '123.456.789.255' );
define( 'WP_HOME', '123.456.789.255' );

And the other thing was counter intuitive. I learned that 301 redirects are cached in the browser. So many of my setting changes were not even tested because the browser had cached the 301 it got on my first attempt.