Paul Groves wrote:
On 28/08/17 19:44, Per Jessen wrote:
Paul Groves wrote:
However:
When I browse to https://hostname or https://IP address or any other https domain name that is pointing to the same server, it shows the mysite.com virtualhost (which subsequently breaks because it is being accessed via a domain name it is not supposed to).
I do not want this to happen. It should not go anywhere at all as I have not configured any other domain name to point to this virtualhost. For unrecognised names, apache will pick the first virtualhost config file. Put in a conf file called aaaaa.conf.
Unfortunately it does not appear to work. :(
I enabled 000-default.conf and 000-default-ssl.conf with no other sites enabled
They both load fine so I enabled https://owncloud.mydomain.com
Owncloud Works fine and the default (non-ssl still worked) however apache seems to be picking up the owncloud ssl as the first one.
so I renamed the 000 in both files to aaa as you suggested and it made no difference
so I renamed them back to 000 and named owncloud as 001-owncloud
still the owncloud one shows up first when it should not. (https://hostname / https://ip - of server)
I am very confused. What might I be doing wrong?
Maybe you ought to post your virtual host configs, and an accurate description of how you want it to work. -- Per Jessen, Zürich (16.6°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org