Common platform Hosts file locations

Source: Internet
Author: User
Common platform Hosts file locations

Windows:%systemroot%\system32\drivers\etc\hosts
Android:/etc/hosts (symbolic link to/system/etc/hosts)
Ios:/etc/hosts (symbolic link to/private/etc/hosts)
Mac OS X 10.0–10.1.5: Set with NetInfo or Niload
Mac OS X 10.2 and later:/etc/hosts (symbolic link to/private/etc/hosts)
Unix, Unix-like systems (e.g. Linux, etc.):/etc/hosts
Windows Mobile, Windows Phone: Registry key hkey_local_machine\comm\tcpip\hosts
Symbian OS 6.1–9.0:c:\system\data\hosts
Symbian OS 9.1+:c:\private\10000882\hosts More detailed location introduction

Https://github.com/racaljk/hosts/wiki/%E5%90%84%E5%B9%B3%E5%8F%B0-hosts-%E6%96%87%E4%BB%B6%E4%BD%8D%E7%BD%AE summed up is

Windows:%systemroot%\system32\drivers\etc\hosts
Unix, Unix-like systems (e.g. Linux, etc.):/etc/hosts

Windows this slag, position so deep.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.