问答详情
源自:2-4 WAMPServer多站点配置

windows里面的host文件前面的站点都是0.0.0.0请问还要修改添加站点吗?而且只有几行

# 屏蔽Adobe激活服务器:

0.0.0.0 activate.adobe.com

0.0.0.0 practivate.adobe.com

0.0.0.0 ereg.adobe.com

0.0.0.0 activate.wip3.adobe.com

0.0.0.0 wip3.adobe.com

0.0.0.0 3dns-3.adobe.com

0.0.0.0 3dns-2.adobe.com


提问者:疯子林 2017-09-12 22:35

个回答

  • 疯子林
    2017-09-12 22:59:09

    我不管了就会直接黏贴上下面这些代码,再添加test01、02的站点,然后完成了,成功了99%

    # Copyright (c) 1993-2009 Microsoft Corp.

    #

    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

    #

    # This file contains the mappings of IP addresses to host names. Each

    # entry should be kept on an individual line. The IP address should

    # be placed in the first column followed by the corresponding host name.

    # The IP address and the host name should be separated by at least one

    # space.

    #

    # Additionally, comments (such as these) may be inserted on individual

    # lines or following the machine name denoted by a '#' symbol.

    #

    # For example:

    #

    #      102.54.94.97     rhino.acme.com          # source server

    #       38.25.63.10     x.acme.com              # x client host


    # localhost name resolution is handled within DNS itself.

    127.0.0.1       localhost

    # ::1             localhost