Apache Site Goes To Wrong Page If I Manually Enter HTTPS:// in the URL

If I type in examplesite.com into the URL it redirects to https://www.examplesite.com which is great, same with typing http://examplesite.com I get the correct redirect to https://www.examplesite.com.

However if I type in https://examplesite.com it takes me to the warning SSL Certificate invalid page. After checking what the domain the certificate was for I realised that it’s taking me to completely different website I have on the server(the same site that comes up if I type my VPS IP Address directly into the URL.)

Heres my config file:

<VirtualHost *:80>
    ServerName examplesite.com
    Redirect permanent / https://www.examplesite.com/

<IfModule mod_ssl.c>
<VirtualHost *:443>

        ServerName www.examplesite.com
        ServerAlias *.examplesite.com
        ServerAdmin noreply@examplesite.com
        DocumentRoot /var/www/html

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        Alias /static /home/user/examplesite/static
        <Directory /home/user/examplesite/static>
                Require all granted

        <Directory /home/user/examplesite/examplesite>
                <Files wsgi.py>
                        Require all granted

        WSGIScriptAlias / /home/user/examplesite/examplesite/wsgi.py
        WSGIDaemonProcess exsite python-path=/home/user/examplesite python-home=/home/user/examplesite/venv
        WSGIProcessGroup exsite

RewriteEngine On
RewriteCond %{HTTP_HOST} ^examplesite.com$ (NC)
RewriteRule ^ https://www.examplesite.com%{REQUEST_URI} (R=301,L)

SSLCertificateFile /etc/letsencrypt/live/www.examplesite.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.examplesite.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf