When i call https, subdomain goes to main domain

hi,
happy new year.
my domain and subdomain are behind cloudflare free. i wanted to get subdomain ssl-ed as well. my main domain is on ssl. operation completed successfully but whenever I put https in front of subdomain, it redirected to main domain. it is because of cloudflare?

My domain is:

subdomain is
tr.adency.net

I ran this command:

certbot --apache -d tr.adency.net

It produced this output:
it completed successfully.

My web server is (include version):
Apache 2

The operating system my web server runs on is (include version):
Ubuntu 18.04

I can login to a root shell on my machine (yes or no, or I don’t know):
yes i can login.

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

certbot 0.31.0

1 Like

Hi @auludag

there are such redirects - https://check-your-website.server-daten.de/?q=tr.adency.net

https://tr.adency.net/ redirects to http://adency.net/, https -> http.

Find these redirects and remove it.

It's your server.

1 Like

hi @JuergenAuer, after your reply, I checked to correct my apache conf

this link helped me.

solved.

thanks.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.