How to secure (https) without domain name is it possible?

If anyone have idea about secure ip address Of a server hosted in aws ec2 nginx without a domain name please share ...
5 Replies
Joao
Joao11mo ago
No, using HTTPS means that you have to provide proof that you own the server, meaning that you need a domain.
Jochem
Jochem11mo ago
you can technically use https with a self-signed certificate and an IP as a CN, but you'll never get it to work without big fat scary warnings in the user's browser and continuous issues with fetch and other programmatic access so yeah, effectively what Joao said
Joao
Joao11mo ago
Yeah, I assumed that being an on a AWS EC2 instance this would be for production use, not the best place for self-signed certificates. Those can be useful for local testing, development or internal use.
Jochem
Jochem11mo ago
yeah, fair assumption besides, a domain can be $2 a year if you pick the right extension, way less than any AWS bill I've ever seen
13eck
13eck11mo ago
You can setup a free domain on https://www.noip.com/. You need to "re-auth" every month to prove you're still using it (they email you a week before it expires). And the domains aren't the best. But it's free! I've been using it with my Discord bot for over a year now and haven't had any issues.
Want results from more Discord servers?
Add your server