Cannot get Owncloud and apache running on a non-standard https port



I have a fully functional OC instance running on https (443) but recenly, I have a need to run OC on an non-standard https port. I chose 8090 and made the following changes but I do not have a functional OC setup at the moment:

Listen 8090
<VirtualHost default:8090>


<VirtualHost *:8090>
DocumentRoot /usr/share/webapps/owncloud

If I browse to I get the expected "Access Forbidden!" message but if I browse to I get "Site can't be reached. unexpectedly closed the connection." Please see the next post as I am a new user and cannot post more than 2 urls at this time.


If however I browse to it redirects to and I can login... is this right?

Server configuration
Operating system: Linux
Web server: Apache 2.4.23
Database: mariadb 10.1.16
PHP version: 7.0.9
ownCloud version (see ownCloud admin page): 9.1.0

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): none


Yes. It is always http://hostname:port/directory


Just looked too odd to me. Thank you for confirming. I guess this was never an issue with the software but with the user :smiley: