The hosts file, used to map hostnames to IP addresses. This tag is for questions relating to usage of this file, including reading and modifying its contents to change which IP a hostname is mapped to.

learn more… | top users | synonyms

1
vote
1answer
49 views

Mac OS X Mavericks DNS name lookup order change?

I noticed Mavericks prefers the DNS server to /etc/hosts (scutil --dns). There used to be a good 'ol "order hosts,bind". Is there anything equivalent for Mavericks so my hosts file is consulted before ...
1
vote
0answers
46 views

Weird local domain behaviour

I just clean installed mavericks on my mac and local domains i use for web development still work. Surely clean install wipes the host file, so how is this possible? Its not really a problem, i am ...
1
vote
0answers
148 views

macbook pro hosts file not working correctly

I am trying to set up a production server ahead of the actual dns switch. I have edited my hosts file on my macbook pro 10.8.2. I can pull up the index page but none of the style sheets are pulled ...
0
votes
0answers
25 views

Test a local site with Safari (Mavericks)

I installed nginx+php on mavericks and it works. I want to test local projects using the .dev extension (exp.: myproject.dev) instead of using the subfolder syntax (exp.: localhost/myproject/) I ...
0
votes
0answers
43 views

No hosts file on iPod ios 6.1.6

I just restored (with iTunes) and jailbroke my iPod touch 4 on iOS 6.1.6 (with Redsn0w) and there is no hosts file. In the /etc folder, I'm almost positive there is supposed to be a "hosts" and a ...
0
votes
0answers
39 views

itunesconnect.com redirection using host file

I've been pretty annoyed by this website called itunesconnect.com. It appears the real one as some of you may know is itunesconnect.apple.com. So I go into terminal and go: sudo nano ...
0
votes
0answers
192 views

iOs Simulator ignoring Hosts file

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 ...
0
votes
0answers
254 views

Apache local domain not resolving [hosts are being ignored]

I'm having issues getting a local domain to resolve. In chrome when trying to load http://dashboard.example.local I get the following error code: DNS_PROBE_FINISHED_NXDOMAIN But it's the typical ...
0
votes
0answers
132 views

How to forward domain.tld:80 to localhost with port (localhost:xxxx) across ssh via `pfctl`?

I have a remote server port piped to my localhost through such that I can hit localhost:18080 (for example) to visit the remote server through a gateway (in my case to skip around a workstation VPN). ...
0
votes
0answers
165 views

Bitnami multiple installations

I'm running a copy of Bitnami Prestashop locally on my Mac for development purposes, I need to also install a copy of Bitnami Wordpress but I'd prefer to avoid having to setup two separate Bitnami ...
0
votes
0answers
115 views

Something keeps directing sub domains back to my own local host 127.0.0.1

I run mamp pro locally for web development and for each site I have internal maps for: domain.com = remote dev.domain.com = remote domain.dev = local I expect domain.dev is handled by mamp on my ...