WordPress: redirecting to my old public ip

UPDATE

Found and Fixed the problem. The thing was that yes all the sources in wordpress database pointed to old public ip xxx.xxx.1.163. Which had to be changed.

The things that had to be changed was:

  1. In wp_options
  • Change siteurl

  • Change home url

  1. In wp_posts
  • replace all the old public ip with new public ip

For me as newbie the easiest way to do this was using GUI, for example phpmyAdmin