Hosts - nasměrování domény na IP adresu
Pokud převádíte stránky na jiný server, máte možnost na stránky nahlédnout ještě před změnou DNS a přesvědčit se, že je vše v pořádku.
Umístění souboru hosts závisí na operačním systému, který používáte.
Linux - /etc/hosts
Mac OS X - /private/etc/hosts
Windows 8 - c:\Windows\System32\drivers\etc
Windows 7 - c:\windows\system32\drivers\etc\hosts nebo c:\windows\sysnative\drivers\etc\hosts
Windows 2000, XP a Vista - c:\windows\system32\drivers\etc\hosts
Windows 95 a 98 - c:\windows\hosts
Je potřeba upravit soubor hosts na svém PC s administrátorskými právy.
Umístění souboru hosts závisí na operačním systému, který používáte.
Linux - /etc/hosts
Mac OS X - /private/etc/hosts
Windows 8 - c:\Windows\System32\drivers\etc
Windows 7 - c:\windows\system32\drivers\etc\hosts nebo c:\windows\sysnative\drivers\etc\hosts
Windows 2000, XP a Vista - c:\windows\system32\drivers\etc\hosts
Windows 95 a 98 - c:\windows\hosts
Je potřeba upravit soubor hosts na svém PC s administrátorskými právy.
127.0.0.1 localhost
xxx.xxx.xxx.xxx test.cz
xxx.xxx.xxx.xxx www.testovaci.cz testovaci.cz
xxx.xxx.xxx.xxx - IP4 serveru
xxx.xxx.xxx.xxx test.cz
xxx.xxx.xxx.xxx www.testovaci.cz testovaci.cz

Komentáře
Okomentovat
Napište komentář. Budu rád.