DNS – Change WordPress Site Name?

You need to update all the places in the database that are using the original location. you can use the following tool to do so. There are others but I have found this one to be easy. Just remember to remove the files after you are done with it. I would run this in it’s new location and leave the development version alone.

https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

You will want to replace the URL string as follows. These are just examples and should be replaced with their own data. The // should be used.

Orignal String: //127.0.0.1

New String: //newurl.com