Nextcloud Static IP address slowing down the website


I installed Nextcloud on my Ubuntu 20.04 VM. Everything is working nicely, webpage is fast, the server gets the network credentials from DHCP server.

I want to change the IP address of my Nextcloud server (outside of the DHCP server range). All the network credentials are correct.
sudo nano /etc/netplan/00-installer-config.yaml

Here’s the problem:

My server gets a new IP address but the webpage slows down by like 5x. The IP address I set is only used by the Nextcloud server.

Any help is appreciated. Thanks!