Edit wp-config.php and add the following lines:
define(‘WP_HOME’, ‘/’);
define(‘WP_SITEURL’, ‘/’);
Change the values in database as:
update wp_options set option_value=”/” where option_name=”siteurl”
update wp_options set option_value=”/” where option_name=”home”
Now your siteurl IP/DNS will not be hardcoded.