1

I'm actually working on a website development and I configured all the needed hostname on my /etc/hosts files.

Actually in our office we use an internal DNS for the QA servers and we override requests with hostfiles because hostname must be equal in both case, anyway.

I write (server-side) on the page the IP address that is serving that page and in my iOS Simulator there's no way to show up 127.0.0.1 it always show to me the QA IP.

I read online that the entry on the hosts file must be wrote one-per-line or the Simulator will not work.

Actually I have:

127.0.0.1 it.domain.test.com
127.0.0.1 us.domain.test.com

Before I had:

127.0.0.1 it.domain.test.com us.domain.test.com

Side notes: My OS: OSX 10.10 Yosemite Here we are behind a proxy.

  • 2
    This might be useful, even though incomplete, Yosemite seems to no longer pay any heed to the hosts file - superuser.com/questions/829383/… – Tetsujin Oct 31 '14 at 9:58
  • Thank you @Tetsujin, that post help me figure out that there's a real problem in Yosemite, howsoever I commented on that blog post cause my browsers works good, I have troubles only with the simulator – MiPnamic Oct 31 '14 at 10:43
  • Glad it at least helped a bit – Tetsujin Oct 31 '14 at 10:44
  • That post has been removed, @Tetsujin or MiPnamic, are you able to update with the resolution? – Matt Fellows Jun 10 at 15:40
  • 1
    @MattFellows - I can still find one of the links from that question [high rep users can see deleted questions] This is the only useful thing left. forums.macrumors.com/threads/yosemite-10-10-hosts-file.1741422 I haven't actually seen this problem since, I'm sure it was resolved by Apple at some point [but it's too long ago for me to really recall] – Tetsujin Jun 10 at 15:48

You must log in to answer this question.

Browse other questions tagged .