I have created a subdomain es.domain.es but when I enter it in the address bar it takes me to dominio.es
My .htaccess file is:
RewriteEngine On
RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://dominio.es/$1 [R=301,L]
I got the ones from 1and1 to redirect http to https. I tried to delete it but it keeps redirecting. I have searched everywhere but I am unable to solve it.
Thank you very much!