Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Domain forwards to IP address without valid SSL
I have domain name example.com and I have properly setup DNS on my domain provider to point to DigitalOcean
Then I properly setup A and CNAME records on DigitalOcean for that domain. I setup A records to point to my IP address (droplet).
I have wordpress on this Ubuntu Droplet on latest version. I also properly changed my wordpress address and site address and replaced them from IP to my domain.
Then trough SSH I setup Lets Enctrypt SSL certificate for my domain example.com
All of that is double checked and properly setup.
However when I type in my domain example.com it redirects me to my IP e.g. 22.214.171.124 but with SSL certificate like this https://126.96.36.199 and here it asks me if I want to proceed to a website. If I accept, every next time I visit domain it shows domain without any problems, so it seems it redirects from IP without problems. On the other hand if I don’t accept to proceed from https://188.8.131.52 since its unsecure connection it wont redirect me to domain.
I also want to note that my domian have properly setup SSL certificate and it works without problems.
I cant get out of this problem no matter what I try.
Thanks for any help that you offer
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×