Y
Hacker News
new
|
ask
|
show
|
jobs
by
bryanlarsen
4965 days ago
I knew 8 of the 9, but the one I didn't (testing virtual hosts) was worth the cost of reading the entire article. Thanks.
2 comments
laumars
4965 days ago
That will only work with named vhosts. Outside of shared hosting / personal web servers, almost everyone uses IP-defined vhosts.
link
e12e
4964 days ago
Well, doesn't everyone do "their own" shared hosting? With ip4 getting more and more scarce, and before ip6 is viable, I'll definitely keep using named vhosts for stuff. Add in SNI, and it even works with SSL. Sort of.
link
ams6110
4964 days ago
I just tweak my /etc/hosts to do this.
link