❤ Fun and interesting Windows local domain name preset mapping

❤ How to map local ip to domain name in Win10

1. Configuration:

Windows local domain name default mapping

Open the relevant address:

C:\Windows\System32\drivers\etc

insert image description here
Configuration method:
open the hosts file


域名如:127.0.0.1 www.baidu.com
127.0.0.1 www.sellercentral.amazon.com

2. Problem

(1)Invalid Host header

insert image description here

Configure skip host check in the project
insert image description here

Guess you like

Origin blog.csdn.net/weixin_43615570/article/details/132315647