当前位置:网站首页>IIS网站配置
IIS网站配置
2022-07-26 09:27:00 【Jack-ZOU】
服务器的主要用途是提供网站服务。前面介绍了服务器的配置,现在可以开始架设网站了。
目前有一些傻瓜软件,比如新网一键通,可以在服务器端自动建立网站,但是和很多傻瓜软件一样,有很多地方不能自定义,使用起来感觉不好。最理想的方法是自己step by step来架设。主要步骤如下:
1. 在windows中新建一个用户newuser,看newuser的属性,把它users组属性删除,重新设置为Guets组。
2. 在网站目录,一般起名为 wwwroot中建一个网站的目录,可以用网站名称来命名。比如建一个 baidu网站,就把新目录起名为baidu,然后右击目录,修改属性,添加newuser,把“完全控制”以外的所有属性都赋予它。将网站程序copy进这个目录。
3. 在IIS中,站点,新建网站,填写名称baidu,选择网站目录的路径,绑定网站的域名。这里面登录者方法修改为指定用户,把newuser的用户名、密码填写进去,点击测试,通过后就行。
4. 然后在IIS中点击这个网站,在右边IIS设置中,asp设置中,将“继承父目录”改为Ture,log日志选为“不建立”。
5. 如果使用MySQL数据库,需要用root用户在phpmyadmin中建立一个名称为newuser的数据库,用户名newuser,设立一个密码。
6. 用Serv-U建立一个新的FTP账号,newuser,路径指向网站的目录。这样网站就架设好了。
按照上述步骤操作,一般不会出现网站不能访问等权限问题。如果网站默认页面名称比较特别,可以在IIS设置中把默认文档(首页)名称加进去。
边栏推荐
猜你喜欢

2022 mobile crane driver test question simulation test question bank simulation test platform operation

js在控制台输出菱形

mysql5.7.25主从复制(单向)

arcgis的基本使用4
![[MySQL] how to execute an SQL statement (2)](/img/7b/53f8756458cc318e2f417b1cc0c3f8.png)
[MySQL] how to execute an SQL statement (2)

您的登录IP不在管理员配置的登录掩码范围内

Source code analysis of object wait notify notifyAll

Does volatile rely on the MESI protocol to solve the visibility problem? (top)

【线上死锁分析】由index_merge引发的死锁事件

Fiddler下载安装
随机推荐
[untitled]
When you click input, the border is not displayed!
电机转速模糊pid控制
微信小程序学习笔记1
Local cache
csdn空格用什么表示
matlab simulink实现模糊pid对中央空调时延温度控制系统控制
Ext4 file system opens dir_ After nlink feature, link_ Use link after count exceeds 65000_ Count=1 means the quantity is unknown
dll中的全局变量
Basic use of Arc GIS 2
注册模块用例编写
2022 Shanghai safety officer C certificate examination questions and mock examination
【Mysql数据库】mysql基本操作集锦-看得会的基础(增删改查)
[online problem] timeout waiting for connection from pool problem troubleshooting
v-premission添加权限
asp.net 使用redis缓存(二)
mysql5.7.25主从复制(单向)
会议OA项目(三)---我的会议(会议排座、送审)
Cat installation and use
Source code analysis of object wait notify notifyAll