As a web developer, I need to make a domain redirect to localhost. I modified the hosts file to do that. But I don't know why it always took so long to do the lookup.slow DNS lookup

How can I solve this?

1 Answer 1


Try using something like mysite.dev in the hosts file.

Further details in stackoverflow.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .