查看一下你host文件
新建一个名字叫hosts.txt的文本文档,在里面写如这些内容
# Copyright (c) 1993-1999 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
127.0.0.1 localhost
然后保存,然后把文本的.txt后缀删除,剩下hosts文件复制到
C:\WINDOWS\system32\drivers\etc
就可以啦.#
你打开来看下,看的IIS启动没有,如果没有启动,要先启动,启动以后看下端口是多少,如果端口不是80,你就要在localhost后面加端口才行
工具->Internet选项->安全->本地->Intranet->站点->取消自动检测Intranet网络 并将下面的三个选项勾选.
iis是很难装成功。我第一次装这个的时候是把系统盘格式化,然后装纯净版的系统,然后第一个装iis,肯定成功。我帮同学装过几次了,百试百灵。