Home  >  Q&A  >  body text

When setting up a server environment under win10, I cannot access the domain name I created myself, but I can access the domain name on the external network. What's going on?

The domain name created by myself when setting up the server environment under win10 cannot be accessed, but the domain name of the external network is accessed. What's going on? Ask God for help

控控控控2602 days ago1341

reply all(1)I'll reply

  • Day

    Day2017-09-28 11:05:42

    To create a virtual domain name, you need to open the host file on the C drive and add 127.0.01 www.xxxxxx.com (your domain name)

    reply
    0
  • 控控

    It works with Google Chrome, but not with IE. It has been added, and the hosts file under win10 does not have write permission by default. You must enable the permission first, otherwise the content of the hosts file cannot be saved if it is modified.

    控控 · 2017-09-28 11:10:19
    Day

    That's the reason for the browser.

    Day · 2017-09-28 11:11:06
  • Cancelreply