can't use periods in ServerName [Lion Apache installation]
- by punchfacechamp
I can access my host like this…
http://keggyshop
but can't use periods…
http://keggyshop.dev
here's my virtual host directive…
<VirtualHost *:80>
ServerName keggyshop
ServerAlias keggyshop.dev
DocumentRoot "~/sites/2012/keggy/web/pages/keggy/120528/sandbox/public"
<Directory "~/sites/2012/keggy/web/pages/keggy/120528/sandbox/public">
Options Includes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
host file
127.0.0.1 keggyshop
127.0.0.1 keggyshop.dev
traceroute for keggyshop…
user$ traceroute keggyshop
traceroute to keggyshop (192.168.1.184), 64 hops max, 52 byte packets
1 keggyshop (192.168.1.184) 1.188 ms 0.683 ms 0.747 ms
traceroute for keggyshop.dev…
user$ traceroute keggyshop.dev
traceroute: Warning: keggyshop.dev has multiple addresses; using 184.106.15.239
traceroute to keggyshop.dev (184.106.15.239), 64 hops max, 52 byte packets
1 * 192.168.1.1 (192.168.1.1) 0.856 ms 0.568 ms
2 10.81.192.1 (10.81.192.1) 15.232 ms 7.002 ms 7.936 ms
3 gig-0-3-0-6-nycmnya-rtr2.nyc.rr.com (24.29.97.122) 7.962 ms 7.813 ms 7.712 ms
4 bun101.nycmnytg-rtr001.nyc.rr.com (184.152.112.107) 10.999 ms 14.001 ms 15.466 ms
5 bun6-nycmnytg-rtr002.nyc.rr.com (24.29.148.250) 11.231 ms 17.321 ms 12.745 ms
6 107.14.19.24 (107.14.19.24) 13.972 ms 11.704 ms 16.477 ms
7 ae-1-0.pr0.nyc30.tbone.rr.com (66.109.6.161) 9.237 ms 11.896 ms
107.14.19.153 (107.14.19.153) 7.481 ms
8 xe-5-0-6.ar2.ewr1.us.nlayer.net (69.31.94.57) 16.682 ms 11.791 ms 11.981 ms
9 ae3-90g.cr1.ewr1.us.nlayer.net (69.31.94.117) 12.977 ms 15.706 ms 9.709 ms
10 xe-5-0-0.cr1.ord1.us.nlayer.net (69.22.142.74) 30.473 ms 30.497 ms 31.750 ms
11 ae1-20g.ar1.ord6.us.nlayer.net (69.31.110.250) 36.699 ms 50.785 ms 35.957 ms
12 as19994.xe-1-0-7.ar1.ord6.us.nlayer.net (69.31.110.242) 34.723 ms 31.118 ms 29.967 ms
13 coreb.ord1.rackspace.net (184.106.126.138) 30.471 ms
corea.ord1.rackspace.net (184.106.126.136) 33.392 ms 35.210 ms
14 core1-coreb.ord1.rackspace.net (184.106.126.129) 32.453 ms
core1-corea.ord1.rackspace.net (184.106.126.125) 32.020 ms
core1-coreb.ord1.rackspace.net (184.106.126.129) 32.417 ms
15 core1-aggr401a-3.ord1.rackspace.net (173.203.0.157) 31.274 ms 34.854 ms 30.194 ms