Please Help? Trying to change web ports for NextCloud 80 & 443

Hi all or admins or @Xiao Guoan
I love your site and looking to send donations to support!!
Had a question? Trying to install NextCloud using your guide but was there a way to change the ports?

Regarding: Install NextCloud on Ubuntu 20.04 with Apache (LAMP Stack) - LinuxBabe

If I wanted to change the port for the web server side…
For ex. http80 → 8888 and https to 9999.

Or would you know if I need to update more than below or ?

Would I need to update this: Apache:


or am I missing more areas to update?