Nextcloud Snap Very slow on subdomain and will drop connection to server

HI I am using nextcloud snap on Ubuntu 18.04 Server and Snap 24.03 snap 1.

I was able to install nextcloud fine with no issue, however I have had a very slow web ui and server disconnects when trying to operate within nextcloud.

steps

sudo snap install nextcloud

sudo ufw allow http

sudo ufw allow https

sudo nextcloud.enable-https lets-encrypt

fill out the necessary info to register the domain with the SSL cert

port forwarded 443 and 80 as well.

installed nextcloud and now when accessing any part of nextcloud it is very slow or the conection to the subdomain drops out. nextcloud.example.com

I am on ATT 2 Gig Fiber with a BGW320-505 router/modem.

Any advice is appreciated!.

EDIT: This is fixed, had to use a DNS Port Forward Service by ATTs Router and it fixed the issue.

What sort of hardware is this on?

Any particular reason for the old OS version?

Maybe you can upgrade first to Ubuntu 20.04 LTS or Ubuntu 22.04 LTS. Maybe with newer software versions it works better.