Mackit New

Mackit — Cache cleaner for macOS developers: scans regenerable caches left by Xcode / Node / Flutter and more, risk-labeled, so you can reclaim disk space.

Learn more
Notice We stopped publishing new developer articles in June 2024. Thank you for visiting. Archived posts
知识

虚拟主机如何配置网站域名解析

   

在虚拟主机中配置网站域名解析的方法

远程登入虚拟主机;

2.打开系统磁盘;

3.查找hosts文件;

4.使用记事本打开文件;

5.添加域名解析;

具体步骤如下

1.首先,远程登入虚拟主机,进入虚拟主机操作界面;

2.进入到虚拟主机操作界面后,在界面中打开系统磁盘;

3.系统磁盘打开后,在磁盘中查找到查找到“hosts”文件,hosts文件位置c:\\windows\\system32\\drivers\\etc;

4.hosts文件查找到后,使用记事本打开;

5.最后,hosts文件打开后,在文件中添加需要解析的域名,保存退出即可;