DNS Rebind Protection
If you are having troubles accessing http://localtest.me, check if your router does DNS rebind protection. There are various options to avoid this problem.
Add Exception
You can add an exception for the following domains in your routers configuration:
bar.localtest.me
foo.localtest.me
keycloak.localtest.me
For instructions see your router vendors documentation. For example:
Use external DNS
Use an external DNS service. For example:
Add to /etc/hosts
Add this to your /etc/hosts
:
127.0.0.1 bar.localtest.me
127.0.0.1 foo.localtest.me
127.0.0.1 keycloak.localtest.me