On 24 Mar 2018, at 12:52, Jerry Malcolm <techstuff@xxxxxxxxxxxx> wrote: > The problem is that when I go to http://domainA it redirects (and changes the URL on the browser) to https://domainB. If I go straight to https://domainA it works correctly. Order appears to matter a whole lot. I had a lot of weird issues until I setup my virtual hosts like this: <VirtualHost xx.xx.xx.xx:443> ServerName domainA [normal host config stuff] </VirtualHost> <VirtualHost xx.xx.xx.xx:443> ServerName domainB [normal host config stuff] </VirtualHost> <VirtualHost xx.xx.xx.xx:80> ServerName domainA Redirect / https://domainA/ </VirtualHost> <VirtualHost xx.xx.xx.xx:80> ServerName domainB Redirect / https://domainB/ </VirtualHost> Also, make sure that you actually have the final / on the redirect and the DocumentRoot lines. -- I prefer bitter drinks, like coffee, and tears. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx