Auuuu Posted October 29, 2014 Posted October 29, 2014 Kedves Mindenki! Remélem ennyi év után még nézi valaki ezt a témát! segito1 továbbá mások tanácsa alapján próbáltam megoldani a hasonló problémám, de nem sikerült. A honlapok továbbra is megjelennek. ---------------------------------------------------------- A hosts fájl tartalma a következő: # Copyright © 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 84.2.32.99 origo.hu/index.html 84.2.32.98 origo.hu/index.html 84.2.32.99 www.origo.hu/index.html 84.2.32.98 www.origo.hu/index.html 84.2.32.99 www.origo.hu 84.2.32.98 www.origo.hu 84.2.32.99 origo.hu 84.2.32.98 origo.hu 84.2.32.99 www.origo.hu/newsfeed/index.html 84.2.32.98 www.origo.hu/newsfeed/index.html 84.2.32.99 origo.hu/newsfeed/index.html 84.2.32.98 origo.hu/newsfeed/index.html Köszönöm a segítséget!
SkyBird Posted October 29, 2014 Posted October 29, 2014 Az Origo honlapok IP címeit a 127.0.0.1 IP címre cseréld le a hosts fájlban.
Auuuu Posted October 29, 2014 Posted October 29, 2014 Köszönöm szépen! Sikerült! Amúgy amikor IP cím keresőbe írtam be a fenti honlapokat, akkor nem ez a 127.0.0.1 volt a kiadott IP cím. Tehát, ha egy weblapot tiltani akarok, akkor mindig a 127.0.0.1 IP-címet kell beírni a honlap neve elé? (Bár ez elég furcsának tűnik.)
[OP]Destroy-man Posted October 29, 2014 Posted October 29, 2014 Igen. Ez úgy működik, hogy megadsz egy IP címet, utána pedig egy domain nevet. AZ IP cím az lesz, ahova szeretnéd irányítani a domain nevet (kényszerítve). A 127.0.0.1 IP cím mindig a saját gépedre mutat. Te viszont megadtad a domain valós IP címét ezzel nem hogy letiltottad az elérését, hanem felgyorsítottad, mert így nem kellett névfeloldást csinálni, pontosabban azt helyben el is végezted.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now