Can’t Access WordPress wp-admin

I recently ran across a problem moving my WordPress blog to a new web host. The problem arose when I tried to login to the WordPress dashboard (wp-admin) on the new server using the IP address.

WordPress rewrites the URL to the domain name rather than using the IP address. You need to go into your web host control panel, access PHPMyAdmin and change the WordPress database to the IP address.

A video showing how to access WordPress admin on a new web host using the IP address is shown below…

[Update: This method does not work on all web servers. I recently ran into a problem on a new web host – something to do with their VHost setup that didn’t allow me to view a site  or log in to WP using the IPaddress/~username method.]