Can't access WordPress blog after host changed IP address of server

Posted by John on Super User See other posts from Super User or by John
Published on 2009-12-26T10:17:00Z Indexed on 2010/03/17 8:01 UTC
Read the original article Hit count: 250

Filed under:

My host changed servers and all websites now have a new IP address. I have the same domain name and I assume the host runs the same nameservers, though my host and domain name provider are different.

Notes:

  • I never entered a Name or description under General/Settings for my blog. I left them both blank. That is when I could log into it.
  • The wp-config file, has localhost entered rather than a specific IP. Again this has always been the case and my host never advised otherwise.

I can get into cPanel by simply putting the newly advised IP in front of /Cpanel.

However, I can not reach the admin panel of my WordPress blog (version 2.8.2).

I had been loggin into it via http://xx.xx.xxx.xx/~example/blog/wp-login.php.
My host suggested to simply insert the new IP in place of the old one. I still get the error message:

404 Not Found

The server can not find the requested page:

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.12 Server at 74.50.108.14 Port 80

I followed some tips on a question on Stack Overflow of a similar nature.

I have logged into phpMyAdmin and found the wp-options table and searched for

SELECT * FROM `wp_options` WHERE `option_name` IN ('siteurl', 'home')

Only option ID 39 came up and the results are:

  • Home has optionvalue http://example.org
  • siteurl has optionvalue http://example.org/blog

Both of which appear correct. Is there any part of the MySQL tables where I can change an actual IP address? Or is there something else you can advise?

© Super User or respective owner

Related posts about Wordpress