Use site name in url instead of ip address

how to login to site using site name :

site name dev-test
in /etc/hosts i did add :
[my ip address] dev-test

when bench start .
i can login only from ip address .

can you help please

http://dev-test:8000
Try something like this 8000 is port number.
In your case, port number can be different. Check Procfile for port number

it is 8000
but i am in production .

so 10.1.10.5 is working but dev-test is not

Is 10.1.10.5 your local machine or a remote server?

Can you ping dev-test in command line?

Browsers can be “too” helpful at times. You may need to type the full URL:
HTTP://dev-test

If you’re not using DNS production mode, you may need to set the default site
and make sure you have hostname set in site_config.json.

@volkswagner it is my local machine .

i can ping from command line .

HTTP://dev-test tried it and not worked