Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IIS にサイトがあります。ホスト名「aaa.com」でバインディングを定義しました。
私の質問は、「http://localhost」にアクセスして、動作するhttp://example.comと同じパスを参照するにはどうすればよいですか?
hostsファイルを編集してみてください
ファイルを開きます (おそらく C:\Windows\System32\drivers\etc にあります)
次の行を見つけます。
# 127.0.0.1 localhost
そしてそれをに変更します
127.0.0.1 aaa.com