Apache Vhost を使用してセットアップしようとしている 2 つの Web サイトがあります。Web サイトは IP アドレス / フォルダー名に設定されていますが、まだ外部に公開されておらず、DNS もありません。したがって、次のように Vhost しようとすると、次のようになります。
<VirtualHost *:80>
DocumentRoot "c:/wamp/www/marion"
ServerName IP-address/marion
<Directory "c:/wamp/www/marion">
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "c:/wamp/www/redcreek"
ServerName IP-address/redcreek
<Directory "c:/wamp/www/redcreek">
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
Vhost構成ファイルをアクティブにすると、IPアドレスが認識されないIPaddress/redcreek
というエラーが表示されます。"The requested URL /redcreek/ was not found on this server."
httpd-vhosts.conf
DNS 名を登録するまで、このように構成することは可能ですか?