map hostnames to IP addresses on a local computer Network

• Assumption that we have Elasticsearch running locally on IP address and port 9200, and you want to access it using the hostname elastic.flagtick.dev on your local computer, you can map this hostname to the IP address in your hosts file. This way, you can access Elasticsearch at http://elastic.flagtick.dev:9200 in your web browser or make requests to that domain from your applications, and they will be directed to your local Elasticsearch instance.

» C:\Windows\System32\drivers\etc\hosts       local.elastic.flagtick.dev elastic.flagtick.dev

Note: Open the hosts file using a text editor by running the text editor as an administrator.

You need to login to do this manipulation!