I developed the website on a private VPN protected IP address. After I was done, I pointed a domain to a public IP that can be reached without a VPN which itself is pointed to the private IP.
I then changed wp-options so that the site URL and home are set as the public domain.
Now people can access the website via the domain and its working fine on the frontend.
The problem is that now when I load the backend, it doesn't load properly and I end up with a blank page.
I then tried switching the wp-options back to the IP, and when I do so, it works but as expected people can no longer see the website.
Any idea what I should change so that the backend loads properly while having the domain setup as the base URL?
Note: Wp_DEBUG doesnt show any errors.