Domain name to a page

Add these values in your wp-config.php

define( 'WP_HOME', 'http://www.example.com' );
define( 'WP_SITEURL', 'http://www.example.com' );

These will overwrite your database values with above. This is a temporary fix.

But to fix this issue permanently. You will have to change URLs in database. You can run these mysql queries to change your URLs from http://100.100.100.100 to http://www.example.com

UPDATE wp_options SET option_value = replace(option_value, 'http://100.100.100.100', 'http://www.example.com') WHERE option_name="home" OR option_name="siteurl";
UPDATE wp_posts SET guid = replace(guid, 'http://100.100.100.100','http://www.example.com');
UPDATE wp_posts SET post_content = replace(post_content, 'http://100.100.100.100', 'http://www.example.com');
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://100.100.100.100','http://www.example.com');

One you are done with these queries then you can remove WP_HOME and WP_SITEURL from wp-config.php file.

This should fix it.

Note: make sure you change domain example URLs with your actual URLs before you start.

tech