Apache/OS X forcing .local
Hey guys,
I do all my web work on the same machine that I host the pages on. Today I was doing some web updates and normally when I check them in Safari it takes my URL and changes it to brian-mcmahons-computer.local/. Fine, since locally that would make sense, but I wanted my friend to check a certain page before I updated the site. So I sent him a link for the test portion with a directory ending (no index.html at the end). The URL changed for him to the brian.local. Then I send him another link with index.html at the end this time and it did the same thing. We are not on the same network. Does anyone know why when my server recieved this request it tried redirecting it to brian.local? Any help would be greatly appreciated. Thanks.
Brian
I do all my web work on the same machine that I host the pages on. Today I was doing some web updates and normally when I check them in Safari it takes my URL and changes it to brian-mcmahons-computer.local/. Fine, since locally that would make sense, but I wanted my friend to check a certain page before I updated the site. So I sent him a link for the test portion with a directory ending (no index.html at the end). The URL changed for him to the brian.local. Then I send him another link with index.html at the end this time and it did the same thing. We are not on the same network. Does anyone know why when my server recieved this request it tried redirecting it to brian.local? Any help would be greatly appreciated. Thanks.
Brian
Comments