legacy-knowledge-base
公開されました Sep. 10, 2025

仮想ホストを設定できません

written-by

István Gergely-Tárnoki

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ドメインをサイトまたはインスタンスの仮想ホストに追加/更新できません
  • UI に次のエラーが表示されます:
    一意の仮想ホストを入力してください。 Virtual hosts must be valid domain names.

Environment

  • Liferay ポータル 6.2+
  • Liferay DXP 7.0+

解決策

  • 上記のエラー メッセージが表示される原因はいくつかあります。
    • データベースの virtualhost テーブルを確認し、同じドメイン名の仮想ホストが既に存在するかどうかを確認します
    • 指定したドメイン名は http:// または https:// で始まります
      • (例: www.test.comの代わりに http://www.test.com)
    • ドメイン名はスラッシュ (/) 文字で終わります
      • (例: test.comではなく test.com/)

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base