Support » Fixing WordPress » Change in VM IP Address, Site not accessible

  • Dear Support,

    My Google cloud VM where I hosted WordPress site had shut down and I had to manually restart. In this process google assigned a new IP address. And now my site won’t show either with , http://35.194.242.74 (old ip), http://35.201.248.81 (new ip). I tried going into http://35.201.248.81/wp-admin to login, type in the credentials, it would kick me out. Same goes for the old ip. I tried to SSH-FTP to edit the ip address in any of the files, like wp-config etc. I’m unable to find a suitable place to do it. Kindly help me out as I’m struggling for the past 72 hours. Maybe I’m not looking in the right direction. Please guide me.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • If the site url has changed ( in this case your IP adres )
    you could add a few lines to the wp-config.php file.

    I most of the time use
    the following code

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

    if you change example.com with the IP address it could probably work again.

Viewing 1 replies (of 1 total)
  • The topic ‘Change in VM IP Address, Site not accessible’ is closed to new replies.