My problem is as follows. I am currently running three virtual hosts, all of which have an SSL certificate. Two out of three virtual hosts are redirecting from HTTP to HTTPS without any issues - e.g. if I type in http://zizek.uk it redirects to https://zizek.uk without any issues. However, for some reason one of the domains does not redirect: http://paradoxoftheday.com directs to main root (i.e. /var/www/html) instead of to its assigned directory (i.e. /var/www/html/paradoxoftheday). [EDIT: this is if you use other browser than Chrome, which automatically prefers HTTPS, e.g. Opera.] All configuration files (in /etc/apache2/sites-available) are set up identically. All .htaccess files are set up identically. And yet, for some reason, zizek.uk does redirect to HTTPS while paradoxoftheday.com does not redirect to HTTPS and instead directs to root directory (which as mentioned is one level higher). Both websites are Wordpress, if that is important.
I ran this command: N/A
It produced this output: N/A
My web server is (include version): I don’t know
The operating system my web server runs on is (include version): Debian 8 x64, version 9.4
My hosting provider, if applicable, is: NFPhosting
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no