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.
How can I solve this?
Try using something like mysite.dev in the hosts file.
Further details in stackoverflow.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago