I have set up a nextcloud server with in ubuntu 22.04 LTS in a VitrualBox and and am running it with Apache2. I can access both the Apache2 server by going to 192.xxx.xxx.xxx:80 and nextcloud via 192.xxx.xxx.xxx/nextcloud but i wish to be able to access it via a url i have. The url is pointed to my IP and was and still does work with the nextcloud AIO vm imagine im running but when i try to get the new VM/nextcloud install to use it, it doesnt seem to work (the Nextcloud AIO vm imagine is offline when i try).
Can someone please help and point out what i need to do to access my nextcloud server via url.
Also reason i want to swap from the Nextcloud AIO imagine is i only get 1-2mb/s up and down while the new one i manually set up is doing 20-30mb/s up and down. (Both test being installed on a NvMe Drive.)