Share via

host file

Anonymous
2024-01-22T07:32:19+00:00

hi there i am trying to edit or add line in host file, long time ago since i did it and when i did there was lot of lines in there, i tried or looked last night could not see anything except this am i missing something please can somebody help and advise me please

Copyright (c) 1993-2009 Microsoft Corp.

This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

This file contains the mappings of IP addresses to host names. Each

entry should be kept on an individual line. The IP address should

be placed in the first column followed by the corresponding host name.

The IP address and the host name should be separated by at least one

space.

Additionally, comments (such as these) may be inserted on individual

lines or following the machine name denoted by a '#' symbol.

For example:

102.54.94.97 rhino.acme.com # source server

38.25.63.10 x.acme.com # x client host

localhost name resolution is handled within DNS itself.

127.0.0.1 localhost

::1 localhost

Windows for home | Windows 11 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Most helpful
  1. Anonymous
    2024-01-22T09:18:39+00:00

    Hello,

    Thanks for reaching out! I'm Microsoft user like you.

    You can Edit host file , make sure you have Write permission to edit this file.

    You can put ip address and hostname of the device or computer in Host file For Example :

    192.168.1.3 mydomain.com

    192.168.1.6 www.yourdomain.com

    In case of additional questions, reach out back to me, and I will be happy to help and try our best to resolve your issue.

    Best Regards,

    Prakash

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-01-24T07:34:58+00:00

    i have it saved in at the moment so far it working

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-01-24T07:34:22+00:00

    i have it saved in at the moment so far it working

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-01-23T09:14:38+00:00

    Hello,

    Thank you for your reply and providing Information.

    As per your host file content which you provided , It looks it is default host file of any of Windows computer.

    Please go to folder : C:\Windows\System32\Drivers\etc\hosts and check if there are any other files you have edited.

    If you have done customization then it should be shown without # ( hash character ) in starting of line.

    Best Regards,

    Prakash

    0 comments No comments
  5. Anonymous
    2024-01-22T10:17:50+00:00

    hi Prakash , it long time since I edit one or added one. but when i go in as administrator all i see is in my first message to yourself which show a sample. not sure there should be a other host file with a lot of ip in it please correct me or let me no if i doing it wrong thanks

    0 comments No comments