Server IP address changed and now wp site won’t load

Hey everyone, so I installed wordpress on a raspberry pi.

I installed apache, mysql and php.

The raspberry pi changed it’s IP address since it’s just in my Local Area Network, so when unplugged, it was assigned a new local ip.

Now when I go to the new ip address of the pi, the WP site won’t load.

This is where the WP files are installed:

/var/www/html/wordpress/

If I go to [192.168.1.18]) it will show in html format the directory “wordpress”, but when I click on it it fails to load.

This might be a super simple fix but not sure where to change the IP on the wordpress files or if the change needs to be done on apache config files.

Any help will do, thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer