You have two options for this:
The first one is to make your sub-domain point to your server's IP, and make your server show the same contents independently from where you're accessing it from. The problem with this is that your server would only show the page you want to request from
The second option (and the recommended option) is to enable virtual hosts for that case, uncomment the appropiate line in
/opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf and comment the related line in
After that, you will have to modify the
ServerAlias line in
/opt/bitnami/apps/owncloud/conf/httpd-vhosts.conf to include your new domain (
This way, you will be able to have your server have different sites depending on the domain name or IP you're accessing it from.
Related to this: https://wiki.bitnami.com/Components/Apache?highlight=VirtualHost#How_to_create_a_Virtual_Host.3f
Let us know if you have any question about this.
I hope it helps!