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?
I’m not taking any responsibility for your production server I’m afraid. It’s certainly possible to put a certificate on your staging site without affecting a completely different server.
Yes. They are two different certificates on two different servers.
thanks @ng3, sorry I didn’t intend to give to you the responsibility of my production server, I am sorry if it seemed like this, it was not my intention
the weird thing is that this problem happens randomly, sometimes works and sometimes redirect to https.
btw, I followed your suggestion, I activated the ssl for the staging as well, and now seems ok.
thanks