Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
how-to:apache-httpd-name-based-virtual-host [2015/03/22 15:54] – Giuseppe Di Terlizzi | how-to:apache-httpd-name-based-virtual-host [2015/03/23 13:16] (current) – [File hosts] Giuseppe Di Terlizzi | ||
---|---|---|---|
Line 11: | Line 11: | ||
==== File hosts ==== | ==== File hosts ==== | ||
- | Come primo passo configuriamo con il nostro editor di testo preferito, il file ''/ | + | Come primo passo configuriamo con il nostro editor di testo preferito, il file ''/ |
Ad esempio: | Ad esempio: | ||
Line 19: | Line 19: | ||
[...] | [...] | ||
- | Salviamo e facciamo un test: | + | Salviamo e facciamo un test con '' |
$ ping foo.lotar | $ ping foo.lotar | ||
Line 26: | Line 26: | ||
64 bytes from localhost (127.0.0.1): | 64 bytes from localhost (127.0.0.1): | ||
^C | ^C | ||
- | --- jacrm.lotar ping statistics --- | + | --- foo.lotar ping statistics --- |
2 packets transmitted, | 2 packets transmitted, | ||
rtt min/ | rtt min/ | ||
Line 61: | Line 61: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | |||
+ | Con questa configurazione abbiamo creato un '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
===== Conclusioni ===== | ===== Conclusioni ===== | ||
La configurazione appena effettuata funzionerà solamente sulla nostra macchina ma nel caso in cui siamo in una rete interna (LAN casalinga, dell' | La configurazione appena effettuata funzionerà solamente sulla nostra macchina ma nel caso in cui siamo in una rete interna (LAN casalinga, dell' | ||
+ | |||
+ | ===== Per maggiori informazioni ===== | ||
+ | * [[http:// | ||
{{tag> | {{tag> |