当前位置:网站首页>Domain name mapping to specified IP
Domain name mapping to specified IP
2022-06-12 08:51:00 【junxuezheng】
ip And domain name binding
In some cases , We want to access... Through the domain name ip, It can be solved by .
1、ip And the domain name
Refer to my other blog :ip、DNS、 domain name 、URL、hosts
2、 How to achieve ip And domain name binding
2.1、 programme : modify hosts
There are other options , For example, using open source tools :SwitchHosts, No introduction here , We use Baidu by ourselves .
2.2、hosts Location
hosts The piece is in “c:\windows\system32\drivers\etc”
2.3、 modify hosts
127.0.0.1 kinglog.com

2.4、 Verify that the settings are successful
- ping kinglog.com

3、 Can't find hosts file
- 3.1、hosts The file is hidden

- 3.2、 It was deleted by mistake
step1、 In the catalog “C:\WINDOWS\system32\drivers\etc\” newly build host.txt
step1、 hold host.txt Rename it to host, Click on “ Start – function "
ren C:\WINDOWS\system32\drivers\etc\hosts.txt C:\WINDOWS\system32\drivers\etc\hosts
边栏推荐
- 【动态内存管理】malloc&calloc和realloc和笔试题和柔性数组
- [GUI development] browsing function implementation model of image processing software
- Seurat package addmodulescore is used for bulk RNA SEQ data
- Error: ER_ NOT_ SUPPORTED_ AUTH_ MODE: Client does not support authentication protocol requested ... ...
- What should be paid attention to when establishing MES system? What benefits can it bring to the enterprise?
- Engineers learn music theory (I) try to understand music
- API处理Android安全距离
- Shell基本语法--算数运算
- Regularization to limit the number of digits after the decimal point of an input number
- Error: what if the folder cannot be deleted when it is opened in another program
猜你喜欢

Close asymmetric key

Configuration and principle of MSTP

处理异常数据

ERROR 1630 (42000): FUNCTION a.avg does not exist. Check the ‘Function Name Parsing and Resolution‘

Build personal blog and web.

Webrtc series - mobile terminal hardware coding supports simulcast

In the era of intelligent manufacturing, how do enterprises carry out digital transformation

Hypergeometric cumulative distribution test overlap

Binlog in mysql:

FDA审查人员称Moderna COVID疫苗对5岁以下儿童安全有效
随机推荐
2022.6.11-----leetcode. nine hundred and twenty-six
The difference between deep copy and shallow copy
Loading circling effect during loading
Error: ER_ NOT_ SUPPORTED_ AUTH_ MODE: Client does not support authentication protocol requested ... ...
IDEA新版UI申请方法+无测试资格使用方法及相关介绍
Installation of Shengxin R package
通俗理解时域采样与频域延拓
Wechat applet image saving function
2022.6.9-----leetcode. four hundred and ninety-seven
Project sorting of niuke.com
分库分表会带来读扩散问题?怎么解决?
Error: clear the history in the search box in the website?
【sklearn学习】LightGBM
Problems that cannot be resolved by tar command
2022.6.11-----leetcode.926
Seurat package addmodulescore is used for bulk RNA SEQ data
【指针进阶三】实现C语言快排函数qsort&回调函数
JS to refresh the page after loading
Hypergeometric cumulative distribution test overlap
43 cas d'analyse du réseau neuronal MATLAB: chapitre 7 régression du réseau RBF - - réalisation de la régression fonctionnelle non linéaire