I recently set up owncloud on a centos 7 VM. The installation went fine and everything seems to be working ok besides when I try to reach the website via FQDN rather than IP address.
When I try to access via https://name.domain/owncloud, it gives me a 404 code (even thoug it tells me connection secure with my installed ssl certificate).
I already bought a domain name and registered the ip address through the A records.
I know my FQDN works because when i access https://mydomain.name without the /owncloud path in the url, it works perfectly fine, it connects.
When I access owncloud through my public ip address, everything seems to working fine.