how to use the hosts file to change websites in Windows?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xinyonghu
    Confirmed User
    • Apr 2012
    • 818

    #1

    how to use the hosts file to change websites in Windows?

    hi.
    I want to change some websites in my computer.
    for example. if I type 123.com by browser.the page will automatically redirect to abc.com.
    how to make a modification ?
  • Supz
    Arthur Flegenheimer
    • Jul 2006
    • 11057

    #2
    https://www.google.com/search?q=chan...hrome&ie=UTF-8

    pretty much same way as you do in unix.

    Comment

    • Klen
      • Aug 2006
      • 32235

      #3
      You cant use hosts file to redirect to another url,only to use different ip.For example,if i put 127.0.0.1 gfy.com ,then i will see content of my local server(if i have it installed)instead gfy.com.But you could add redirect on site which shows when typing 127.0.0.1 by using htaccess/php/metatag.

      Comment

      • xinyonghu
        Confirmed User
        • Apr 2012
        • 818

        #4
        Originally posted by KlenTelaris
        You cant use hosts file to redirect to another url,only to use different ip.For example,if i put 127.0.0.1 gfy.com ,then i will see content of my local server(if i have it installed)instead gfy.com.But you could add redirect on site which shows when typing 127.0.0.1 by using htaccess/php/metatag.
        thank u.i see

        Comment

        • livexxx
          Confirmed User
          • May 2005
          • 1201

          #5
          go to snapnames and buy their domain
          http://www.webcamalerts.com for auto tweets for web cam operators

          Comment

          Working...