当前位置:网站首页>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设置中把默认文档(首页)名称加进去。
边栏推荐
- WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
- 2022 chemical automation control instrument operation certificate test question simulation test platform operation
- volatile 靠的是MESI协议解决可见性问题?(下)
- Redis principle and use - Basic Features
- tabbarController的使用
- php执行shell脚本
- ZXing简化版,转载
- Exception handling mechanism II
- opencv 类的使用
- OFDM 十六讲- OFDM
猜你喜欢

【Mysql数据库】mysql基本操作集锦-看得会的基础(增删改查)

arc-gis的基本使用2

Redis principle and use - Basic Features

keepalived 实现mysql自动故障切换

Vertical search

Windows backs up the database locally by command

Paper notes: knowledge map kgat (unfinished temporary storage)

arcgis的基本使用4

MySQL transaction

【Flutter -- 布局】Align、Center、Padding 使用详解
随机推荐
js中树与数组的相互转化(树的子节点若为空隐藏children字段)
OFDM 十六讲- OFDM
cocoapods的安装和使用
解决IE7 & IE8 存储cookie问题
搜索模块用例编写
2022 chemical automation control instrument operation certificate test question simulation test platform operation
设置视图动态图片
JVM command induction
LeetCode三数之和问题
arcgis的基本使用4
PHP一次请求生命周期
Ext4 file system opens dir_ After nlink feature, link_ Use link after count exceeds 65000_ Count=1 means the quantity is unknown
keepalived 实现mysql自动故障切换
使用openLayer画箭头
2022 mobile crane driver test question simulation test question bank simulation test platform operation
uni-app学习总结
Smart gourmet C language
字节缓冲流&字符流详解
Add DLL
VS2019配置opencv