2

我想指向一个子域,例如:

example.domain.com

到如下 URL:

domain.com/something/this.php

如何在 Plesk 中执行此操作?

4

1 回答 1

2

根据脚本的工作方式,您可以采用以下两种路径之一:

  1. Add Domain,为其命名example.domain.com(是的,它将使用您的域限制中的一项),在那里选择RedirectHosting Type输入目标地址。
  2. Add Subdomain并将其 docroot 文件夹指向/{domain.com docroot}/something/文件夹。sothis.php将被访问 asexample.domain.com/this.phpthat.phpasexample.domain.com/that.php
于 2012-06-25T11:25:15.590 回答