自サイト検証用のテスト用ミラーサーバーをバーチャルホストにより構築する亊を例に、バーチャルホストの基本的な設定を解説します。 ここで紹介する内容は、1つしかIPアドレスがない環境に対し、複数のドメインで運営することを目的としているため、名前ベースのバーチャルホスト構築となります。 バーチャルホストについてはこちらで情報を得られます。 http://httpd.apache.org/docs-2.0/ja/vhosts/ ここでバーチャルホストを構築する目的について Webコンテンツ開発プロジェクトごとに、バーチャルホストを構築し開発環境をそれぞれに提供することを想定し、ローカルユーザー専用のバーチャルホストを構築します。 http://www.mydomain.net/ (通常のドメイン) http://testserver/ (バーチャルドメイン) http://testserver/