ホスティングタイプでは、ウェブサイトの動作を定義します。Plesk では、ウェブサイトホスティング転送ホスティングなしという 3 種類のホスティングをサポートしています。

ウェブサイトホスティング

ウェブサイトホスティングとは、ウェブサイトが物理的にサーバ上にあることを意味します。

ウェブサイトホスティングでは、以下を指定することができます。

  • Preferred domain. Typically, any website is available on two URLs: with the www prefix (like in www.example.com) and without it (like in example.com). We recommend that you always redirect visitors to one of these URLs (typically to the non-www version). For example, after you set the Preferred domain to the non-www version (example.com), site visitors will be redirected to this URL even if they specify www.example.com in their browsers. Plesk uses the search engine friendly HTTP 301 code for such a redirection. This allows preserving search engine rankings of your site (preferred domain). If you turn off the redirection by choosing None, search engines will treat both URL versions (www and non-www) as URLs of different sites. As a result, rankings will be split between these URLs.
  • ドキュメントルート: サイトのすべてのファイルとサブディレクトリを格納するディレクトリの場所。デフォルトディレクトリ httpdocs を使用することも、他のディレクトリを指定することもできます。

転送

You can point one or more registered domain names to the same physical website, by using domain name forwarding. This allows automatic redirection of visitors from the URL they specify in a browser to a site with a different URL. For example, visitors of the site www.example.com can be redirected to www.somedomain.tld. There are two types of forwarding in Plesk: the standard and frame forwarding.

標準転送

標準転送では、ユーザが別の URL へリダイレクトされた後で、ブラウザのアドレスバーを見て転送先 URL を確認できます。

Depending on how long you intend to use the redirection, you can select the type of redirection – Moved permanently (code 301) or Moved temporarily (code 302). These are HTTP response codes which Plesk sends to browsers to perform the redirection. From the visitors’ point of view, the response code does not matter: in both cases, visitors will be redirected to the destination URL. For search engines, the code defines how they should treat the redirected site and affects search engine rankings.

  • コード 301(恒久的に移動)

    サイトを別のアドレスに恒久的に移動した後も、サイトの検索エンジンランキングを維持したい場合には、このリダイレクトタイプを使用します。
    たとえば、example1.com をドメイン example2.com へ恒久的に移動しても、example1.comexample2.com は別々にランキング対象にならず、検索エンジンのクローラによって 1 つのウェブサイトとして処理されます。
  • コード 302(一時的に移動)

    このリダイレクトタイプは、転送先ドメインを一時的に使用する場合、たとえば、古いバージョンのサイトを保持したまま、訪問者を対象に新しいバージョンのサイトをテストする場合などに使用します。新規作成した転送先ドメインにこのリダイレクトを設定した場合、このドメインは検索エンジンでインデックスされません。

フレーム転送

With Frame forwarding, when visitors are redirected to another site, the address bar of their browsers continues to show the source URL. Thus, visitors remain unaware of the redirection. This is called frame forwarding as the index page of the source site contains a frame with the destination site.

ウェブホスティングを使用しないドメイン

You can switch off the web service and use only the email services for that domain (Websites & Domains > domain name > Hosting Settings > the Change link near Hosting Type > the No web hosting option).