公司的網頁由幾個iframe組成,Component分佈在不同Server,而Main Frame Load IFrame都不是指明IP,而是Development Domain的,當然公司沒有為各台Development機買Domain啦,這時就要改自己電腦的設定,改IP Domain改hosts file啦。
hosts file位置
C:\Windows\System32\drivers\etc
例子
xxx.xxx.xxx.xxx www.testing.com
在公司的電腦我沒Admin Right(極度麻煩),所以起初改不到Host File,要用fiddler來處理Domain到IP的問題,雖然也沒甚麼問題但果然還是直接改Host File較方便。
參考
https://tw.battle.net/support/zh/article/checking-your-windows-hosts-file
Stay inafvmotire, San Diego, yeah boy!