Tafatir faylka martida loo yahay ee Windows si loo xannibo ama u jiheeyo mareegaha

Faylka martida loo yahay Windows(Windows Hosts) waa fayl ay Windows isticmaasho si ay u maamusho oo u khariidayso cinwaannada IP. Marka la tafatiro faylka Hosts -ka, (Hosts)Windows waxa loo habayn karaa in la xannibo ama dib loo hagayo mareegaha gaarka ah iyo xataa borotokoollada ay adeegsadaan barnaamijyada iyo codsiyada.

Maqaalkan, waxaan kugu socon doonaa tillaabooyinka si sax ah loogu saxo faylka HOSTS . Sidoo kale, haddii aad doorbidi lahayd inaad daawato fiidiyowga habka, waxaad xor u tahay inaad hubiso fiidyowgayada YouTube(YouTube video) .

Wax ka beddel faylka martida loo yahay ee Windows

Si aad u bilowdo tafatirka faylka martida loo yahay Windows(Windows Hosts) , waxaad marka hore u baahan tahay inaad heshid. Furo Windows Explorer oo dhagsii PC-gan( This PC) ama Kumbuyuutarkayga(My Computer) . Laba jeer dhagsii C:, ka dib galka  Windows oo hoos u rog bogga ilaa aad ka gaarto galka  System32 . Gudaha galkaas, fur darawallada(drivers) ka dibna fur iwm(etc) . Waxaad hadda arki doontaa dhawr fayl, oo mid ka mid ahi yahay martigeliyaha(hosts) .

faylka martida loo yahay

Hadda, ogow in nooca faylka ee faylka martida(hosts) loo yahay uu u taxan yahay Fayl(File) . Sababtoo ah ma jiro barnaamij u dejisan si loo furo nooca faylka sidan oo kale ah, laba jeer gujinta faylka martida loo yahay waxay si fudud ku siin doontaa degdegga Windows , oo ku weydiinaya barnaamijka aad jeceshahay inaad isticmaasho si aad u furto faylka.

Dooro barnaamijka degdega ah - Windows 7

Isla markiiba, waxaad dooran kartaa inaad ku daabacdo faylka martida loo yahay Notepad . Markaa, si fudud guji si aad u doorato Notepad oo guji badhanka OK . Laga soo bilaabo halkaas, Notepad ayaa la bilaabi doona macluumaadka faylka martida loo yahay.

hosts file notepad

Habkan loo furayo faylka martida loo yahay ayaa la muujiyay si loo muujiyo halka faylka martida loo yahay uu dhab ahaan ku yaal Windows gudaheeda , laakiin ma awoodi doontid inaad wax ka beddesho sababtoo ah waa faylka nidaamka. Si aad u tafatirto faylka, waa inaad marka hore furto Notepad , oo u shaqaynaysa sidii maamule(Administrator) .

Guji Start oo ku qor Notepad , laakiin ha gujin Notepad si aad u furto. Halkii(Rather) , midig-guji(right-click) liiska Notepad si aad u soo qaadato liiska macnaha guud. Dooro ikhtiyaarka Orod sida Maamule(Run as Administrator) .

notepad u orda sida admin

Marka Notepad furan yahay, dooro File > Open . U gudub  C:\Windows\System32\drivers\etc . Waxaad heli doontaa shaashad banaan oo soo bandhigaysa degdega wax shay ah oo ku habboon raadintaada ma jiraan(No items match your search) . U beddel Text Documents (*.txt) to All Files adiga oo isticmaalaya liiska hoos u dhaca. Hadda, waxaad dooran kartaa faylka martida loo yahay oo guji (hosts)Open .

furan faylka martida loo yahay

Ku darista faylasha faylka martida loo yahay waa mid aad u fudud. Faylka martida loo yahay wuxuu isticmaalaa qaabka:

IP Address   exampledomain.com

Xiro shabakadaha addoo isticmaalaya Faylka HOSTS

Joojinta mareegaha Windows waa mid fudud sida ku qorista kuwan soo socda xagga hoose ee faylka martida loo yahay:

127.0.0.1    www.exampledomain.com

Markaa, haddii aan rabo inaan xannibo degel sida www.nytimes.com, waxaan ku dari karaa khadkan soo socda:

127.0.0.1    www.nytimes.com

dib u jiheynta mareegaha martida

Waxa aan run ahaantii u sheegayno Windows waa in website-ka www.nytimes.com uu u jiheeyo ciwaanka IP-ga 127.0.0.1, kaas oo ah ciwaanka loopback ee nidaamka deegaankayaga. Haddi aanad kombayutarkaaga ku haynin degel maxalli ah, waxa kaliya oo aad heli doontaa bog khalad ah browser kaaga.

goobta lama gaari karo

Aad(Pretty) u fiican, huh!? Sida iska cad, waxaad arki kartaa sida tan loo isticmaali karo dhowr siyaabood oo kala duwan: jeesjees ah, kantaroolka waalidka, iwm. Haddii aadan rabin in aad xannibto website-ka habkaas, waxa kale oo aad u wareejin kartaa website kale. Si taas loo sameeyo, waa inaad marka hore heshaa cinwaanka IP-ga ee goobta kale.

Si taas loo sameeyo, kaliya fur amar degdeg ah (guji Start oo ku qor CMD ) oo ku qor amarka soo socda:

ping examplewebsite.com

bogga ping

Tusaalahayga, waxaan ku dhajiyay Adobe.com(Adobe.com) . Ciwaanka IP-ga waa 192.150.16.117. Hadda waxaan si fudud ugu dhejin karaa lambarkaas faylka martigeliyayaashayda hortiisa www.nytimes.com.

hosts file redirect

Hadda marka aan booqdo www.nytimes.com, waxa aan u jiheeyaa Adobe.com(Adobe.com) ! Wacan(Nice) ! Ogsoonow haddii tani aysan u shaqeyn shabakadaha aad geleyso, waxay noqon kartaa sababtoo ah URL- ka aad isticmaalayso. Tusaale ahaan, waxa ay samaynaysaa farqi haddii aad isticmaasho www.nytimes.com lid ku ah nytimes.com iyada oo aan www . Booqo mareegaha oo arag sida saxda ah URL waxa loogu talagalay shabakada aad rabto inaad dib u jiho Waa inaad had iyo jeer isku daydaa la'aanteed www.

Haddii website-ku isticmaalo HTTPS sida Google.com ama shay, waa inay wali dib u hagaajisaa haddii aad isticmaasho magaca martida loo yahay. Ma jirto qaab lagu qeexo nooca HTTPS ee degelka ku jira faylka HOSTS , laakiin waa inay dib u habaysaa HTTPS(HTTPS) iyo noocyada HTTPS ee mareegaha haddii aad isticmaasho magaca martida loo yahay (ie google.com).

Ugu dambeyntii, waxaad isticmaali kartaa faylka martida loo yahay si aad u abuurto jid-gaabyo fudud oo aad ku sameyso qalabkaaga shabakada. Tusaale ahaan, routerkeygu wuxuu joogaa 192.168.1.3 shabakada gurigayga, laakiin waxaan ku dari karaa xariiqan soo socota faylka martidadeyda oo si fudud ugu qor myrouter.com gudaha bar ciwaanka.

u jihsii aalada maxaliga ah

Wax macno ah ma leh haddii myrouter.com dhab ahaantii yahay degel ama maaha sababtoo ah faylka martida loo yahay marka hore ayaa la akhriyaa waxaana laguu wareejinayaa cinwaanka IP-ga ee lagu qeexay faylka. Waxaa xusid mudan in dhammaan daalacayaashu aysan isticmaali karin faylka martida loo yahay, markaa haddii aysan shaqeyneynin, taasi waxay noqon kartaa arrintu. Waxaan tijaabiyey anigoo isticmaalaya IE, Microsoft Edge , Chrome iyo Firefox waxayna ka shaqeysay dhammaan daalacashada.

Guud ahaan, faylka martida loo yahay ayaa wali faa'iido leh, xitaa gudaha Windows 10 . Waxa kale oo ay weli si fiican ugu shaqeysaa Windows 8 , 7, Vista , iwm. Haddii aad wax su'aalo ah qabtid, xor u noqo inaad faallo ka bixiso. Ku raaxayso!



About the author

Waxaan ahay khabiir kombuyuutar, waxaanan ku takhasusay aaladaha iOS. Waxaan dadka caawinayay tan iyo 2009, waayo-aragnimadayda wax-soo-saarka Apple ayaa iga dhigaysa qofka ugu habboon ee ka caawinaya baahiyahooda tignoolajiyada. Xirfadeyda waxaa ka mid ah: - Dayactirka iyo cusboonaysiinta iPhones iyo iPod-yada -Rakida iyo isticmaalka software Apple - Ka caawinta dadka inay helaan apps-ka ugu fiican ee iPhones iyo iPod-yada - Ka shaqaynta mashaariicda onlaynka ah



Related posts