当前位置:网站首页>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设置中把默认文档(首页)名称加进去。
边栏推荐
- Redis principle and usage - installation and distributed configuration
- 【线上问题】Timeout waiting for connection from pool 问题排查
- Implementation of fragment lazy loading after multi-layer nesting
- I'm faded
- tabbarController的使用
- Basic use of ArcGIS 4
- Object 的Wait Notify NotifyAll 源码解析
- wap端微信h5支付,用于非微信浏览器
- 大二上第五周学习笔记
- Local cache
猜你喜欢
asp.net 使用redis缓存
会议OA项目(三)---我的会议(会议排座、送审)
神经网络与深度学习-6- 支持向量机1 -PyTorch
登录模块用例编写
arc-gis的基本使用2
Innovus is stuck, prompting x error:
volatile 靠的是MESI协议解决可见性问题?(下)
【Mysql】一条SQL语句是怎么执行的(二)
Under a directory of ext3 file system, subfolders cannot be created, but files can be created
[MySQL] how to execute an SQL statement (2)
随机推荐
登录模块用例编写
C managed and unmanaged
[MySQL] how to execute an SQL statement (2)
Implementation of fragment lazy loading after multi-layer nesting
【Mysql】认识Mysql重要架构(一)
搜索模块用例编写
Calling DLL to start thread
Byte buffer stream & character stream explanation
大二上第五周学习笔记
OpenCV 表格识别之表格提取(二)
MySQL transaction
Exception handling mechanism II
面试题目大赏
Windows下Redis哨兵模式搭建
微信小程序开发
The provincial government held a teleconference on safety precautions against high temperature weather across the province
【线上问题】Timeout waiting for connection from pool 问题排查
神经网络与深度学习-6- 支持向量机1 -PyTorch
antUI中a-modal 拖拽功能制作
Basic use of ArcGIS 4