1

lets say I have a domain 我等主营.com that I want to add it into Windows hosts file for development purposes as below:

127.0.0.1         www我等主营.com

I could save the modification with Notepad++ but when puting the name on a web browser www.我等主营.com, it does not go to 127.0.0.1 but instead it resolves to the domain's public IP or whatever it is. It works fine for me with English domain names. How to do it ?

3

I think you are required to convert the 我等主菅.com into punycode representation in the hosts file.

127.0.0.1    xn--tiq769bnnsi9h.com

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.