According to RFC 2606 (1999) the TLD .localhost is reserved for use for testing locally.
The goal is to configure a preview site to run locally using the TLD .localhost, e.g. http://example.localhost
The problem is that when I use Chrome or Safari to access a '.localhost' TLD it searches google for example.localhost instead of treating it as a proper address. This is after configuring the hosts file to point back to 127.0.0.1
.
Am I misunderstanding the usage of this reserved TLD? Is there a way to configure this to work properly?