I initially had my DNS set up at Netlify coz previously i was just connecting it to my github repos and hosting the vite frontends wrapping them up around my domain, but then down the line i decided to have a hostinger vps for hosting the frontends so i switched my nameservers to hostinger’s and somehow the netlify managed domains were still working (i dont know if that was supposed to happen) and concurrently hostinger records were also enabled and i was able to host subdomains via that, i was using nginx as web server for my vps and recently i decided to completely switch my domains from netlify to hostinger DNS, but then even after properly configuring the sites in nginx and deploying ssl certificates the domain is not accessible as it says two different things on different browsers you can check that out in the images below.
enter image description here
enter image description here
trust me i had deployed various other projects on that subdomain and all of them are working fine even the one’s which were configured on netlify even after i delete the DNS Zone.
I tried re configuring the nginx sites, deleted the conf then re-enabled it tried re-installing the ssl certificates (using certbot), set the A records again at hostinger DNS but nothing seemed to work.
abdullah basarvi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.