There is a nextcloud server that users access within the network and beyond. Inside the network, a request to cloud.example.com returns the Apache page, and to the desired page, I go to cloud.example.com/nextcloud Outside the network, the query cloud.example.com returns the desired page.