I wanted to back up my EC2 Bitnami WordPress Multi-site instance (I'm new to all of this) so I turned it off, made an image, and turned it on. My site was then broken - trying to resolve to an EC2 address.
Now, to make a long story short, my child site displays it's url correctly, but my main site is showing the ip address. I tried changing
define( 'DOMAIN_CURRENT_SITE', '188.8.131.52' ); to
define( 'DOMAIN_CURRENT_SITE', 'http://mydomain.com' );
Likewise with wp options > siteurl and home in the database, but that breaks things.
Anyone know what to do?