How to install NC via snap with existing web server

If I have an existing apache server that is already serving a website on 80/443 can I install via snap and use the default ports assuming that I have a unique domain for next cloud? Currently I have next cloud running with no issues since I ran sudo snap set nextcloud ports.http=81 ports.https=444 but I want to be able to run next cloud on the default ports.

For example
example.com:443 > 1.2.3.4
nextcloud.example.com:443 > 1234