当前位置:网站首页>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设置中把默认文档(首页)名称加进去。
边栏推荐
猜你喜欢
随机推荐
[MySQL] understand the important architecture of MySQL (I)
Calling DLL to start thread
sublime 安装插件
Redis principle and usage - installation and distributed configuration
Use of off heap memory
Force deduction brush questions, sum of three numbers
点击input时,不显示边框!
Zipkin installation and use
Smart gourmet C language
模板(三)
Mysql事务
[shutter -- layout] detailed explanation of the use of align, center and padding
登录模块用例编写
Innovus is stuck, prompting x error:
OFDM 十六讲- OFDM
Arc GIS basic operation 3
大二上第二周学习笔记
VS2019配置opencv
[MySQL] detailed explanation of redo log, undo log and binlog (4)
2022 chemical automation control instrument operation certificate test question simulation test platform operation








![[MySQL] detailed explanation of redo log, undo log and binlog (4)](/img/67/6e646040c1b941c270b3efff74e94d.png)