I have 2 different droplets on DO. (one for the staging and one for production)
the staging website is a subdomain of the main website > staging.mywebsite.co.uk
It was all ok until I activated the SSL in the main website > mywebsite.co.uk
after that, for some reason sometimes the staging doesn’t show up, I receive this msg " This site can’t be reached. mywebsite.co.uk refused to connect.
but sometimes works and I am able to see the staging website.
i tried to re-provisioning the staging server (always without the ssl) but I have the same problem.
I checked the site logs in /srv/www//logs but i didn’t see anything related.
I suspect that it is a problem with the SSL, because staging is looking for the https (but I never activated the SSL on the staging), and if I remember well, I think this problem came out only after I activated the SSL in the production.
i am not an SSL expert, it is a new thing for me, is it possible that the SSL just on the main domain (but not on the subdomain) can cause this problem?
do I need to activate the SSL on the staging as well to fix this problem?
Is there anything that I need to be aware of before activating the SSL on the staging as a subdomain?
will I have problems with the SSL if staging is a subdomain?
thanks in advance for your help!