Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

hosts file editing in windows whilst waiting for the registry

Options
  • 03-07-2002 4:11am
    #1
    Registered Users Posts: 15,439 ✭✭✭✭


    I'm waiting for a domain to move to a new host, and would like to make sure everything is as it should be before it switches over.

    It's virtual hosting so not sure if this is the barrier, anyhow have tried resolving the ip locally by editing the "hosts" file in C:\WINDOWS\system32\drivers\etc\hosts (using winxp pro) as follows
    # Copyright (c) 1993-1999 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
    
    127.0.0.1       localhost
    123.123.123.123 mysite.com (ip is nameserver ip)  or....
    
    123.123.123.123 mysite.com (ip is site machines ip)
    

    Thought this would do it..but it doesn't..

    Anyone know how to make this work?

    Have a weather station?, why not join the Ireland Weather Network - http://irelandweather.eu/



Comments

  • Registered Users Posts: 15,439 ✭✭✭✭Supercell


    figured it out, maybe other newbie web heads will use this in the future.

    just added 123.123.123.123 (ie my sites addy) mysites.com

    saved it, now in explorer http:/mysites.com opens it up :)

    Sorry if this was a really newbie type post.

    Have a weather station?, why not join the Ireland Weather Network - http://irelandweather.eu/



Advertisement