通用设置
To view a website’s general hosting settings, click Hosting & DNS below the site’s name at Websites & Domains, and then click Hosting.
常规网站设置分为几组:
Hosting type
-
Type. The hosting type (Website, Forwarding, and No web hosting) defines the website behavior. By default, all websites belong to the Website hosting type as they are physically hosted on the server.
To change the hosting type, use the drop-down menu. To learn more about hosting types, see Hosting Types.
注解: 其它基本设置取决于选定的主机类型。可查看 主机类型 。
-
偏好域 。为有 网站 主机类型的域名而显示。可查看 网站主机 。
-
文档根 。为有 网站 主机类型的域名而显示。可查看 网站主机 。
SSL/TLS support
-
SSL/TLS support is enabled by default. It protects your website by encrypting all data transferred to and from the website.
-
Redirect visitors from HTTP to HTTPS via a SEO friendly 301 redirect.
注解: 只有在启用了 SSL/TLS 支持的情况下才有此选项。
默认情况下,会使用 301 HTTP 状态码(永久重定向)自动将网站的所有访客从 HTTP 重定向到站点的 HTTPS 版本。此类重定向是 SEO 安全重定向,因为搜索引擎将仅索引站点的 HTTPS 版本,且排名不会有损(与状态码 302 - 临时重定向不同)。了解更多有关不同类重定向的信息。当您使用此选项时,请务必确保有有效的 SSL/TLS 证书,因为浏览器会缓存带有 301 永久重定向的站点,若还使用了自签名证书,那么站点访客每次访问站点都将会看到警告信息。
请在 “web 邮箱的 SSL/TLS 证书” 部分查看如何 为 web 邮箱启用 HTTP 到 HTTPS 的重定向。
-
证书。若要使用 SSL/TLS,请在网站上安装 SSL/TLS 证书(参阅 使用 SSL/TLS 证书保护连接的安全),然后选择一个可用的证书。
Web Statistics
-
Tool. Select the web statistics software that you want to use for viewing graphical reports and charts on website visitors:
- Disabled. No web statistics software is used.
- Webalizer. Use the Webalizer web server log file analysis program to generate usage statistics in HTML format. Webalizer is a Plesk component and needs to be installed if not already. Learn more about Webalizer.
- AWStats. Use AWStats open-source web analytics tool to generate reports on website traffic. AWStats is a Plesk component and needs to be installed if not already. Learn more about AWStats.
If you want to protect the directory containing the web statistics files with your FTP username and password, select the Protect access to your web statistics with your FTP user and password option. Note that unless you select this option, anyone on the Internet will be able to see your web statistics.
Web Scripting
- 脚本语言 。指定您想要网站支持的程序和脚本语言。对于 PHP,您还可以选择自定义 PHP 版本和处理器类型。在 PHP 选项卡上有更多 PHP 设置。要了解更多关于 PHP 处理器和 PHP 配置的信息,可参阅小节 PHP 设置 。
- 自定义错误文档 。当 web 服务器无法找到访问者所要求的站点页面,web 服务器会产生并使用标准的 HTML 页面显示错误消息。如果您需要创建自己的错误页面并在 web 服务器上使用,可选择 自定义错误文档 复选框。
-
其他写入/修改权限 (仅限 Windows 主机)。如果网站的 web 应用程序使用基于文件的数据库,如 Jet(位于
httpdocs
或httpsdocs
根目录),则需要此选项。注意,使用该选项将给网站带来安全隐患。
Webspace Settings
- System user’s credentials. Manage the website’s files and folders via FTP or File Manager. If permitted, access the server via SSH.
- SSH access. You can give website system users chrooted or non-chrooted SSH access to the Plesk server. By default, this is not enabled. To learn more about SSH access, see Enabling SSH Access for Website Users.
- IP addresses. View the IP addresses associated with your subscription.
- Disk space quota. The disk space quota is the limit on the amount of disk space that can be used. If the disk space quota is set, and all allocated disk space is used, no further operations on files can be performed. Note that this option may not be available depending on the server configuration.