This is to help developers to test their service locally but with https enabled.
The following DNS records have been created:
| Host | IP | Notes |
|---|---|---|
| localhost.local-tests.dev | 127.0.0.1 | |
| ip-192-168-0-1.local-tests.dev | 192.168.0.1 | Start IP |
| ip-192-168-0-255.local-tests.dev | 192.168.0.255 | End IP |
| ip-192-168-1-1.local-tests.dev | 192.168.1.1 | Start IP |
| ip-192-168-1-255.local-tests.dev | 192.168.1.255 | End IP |
| ip-192-168-50-1.local-tests.dev | 192.168.50.1 | Start IP |
| ip-192-168-50-255.local-tests.dev | 192.168.50.255 | End IP |
| ip-192-168-88-1.local-tests.dev | 192.168.88.1 | Start IP |
| ip-192-168-88-255.local-tests.dev | 192.168.88.255 | Start IP |
For example,
$ nslookup ip-192-168-88-1.local-tests.dev
Server: fddd:dddd::
Address: fddd:dddd::#53
Non-authoritative answer:
Name: ip-192-168-88-1.local-tests.dev
Address: 192.168.88.1
And you can config your host name to this host to debug your services, with the https certificate from LetsEncrypt
at https://github.com/ghlocaltests/certificates
And config your service (Like SpringBoot/Tomcat/Nginx) to use this certificate, to enable https.
Enjoy!