-2
votes
1answer
354 views

Hostname to Localhost with Port - OSX [duplicate]

I am trying to run multiple Node.js web servers locally on my machine. Because the code I'm writing needs to reference a domain name I'd like to keep a convention of dev.myHost.com and point that to ...
4
votes
2answers
9k views

How is DNS lookup configured for OSX Mountain Lion?

If I cat my resolv.conf, I see this message: # # Mac OS X Notice # # This file is not used by the host name and address resolution # or the DNS query routing mechanisms used by most processes on # ...
0
votes
1answer
327 views

Redirect Addresses to localhost by Pattern on Mac OS X

I'm not even 100% sure how to ask this question. The answer might be out there, but I can't find it. So I've set up virtual hosts for my Mac and I do all my development locally on my computer. I have ...
3
votes
1answer
592 views

Squid ignoring hosts file (using SquidMan on Mac)

I installed SquidMan 3.1 on my Mac, and it works fine. But I really need it to redirect some of the traffic using my hosts file, and it seems to be ignoring it no matter where I put it. So far I've ...
0
votes
1answer
233 views

Apache 2 Virtual Hosts no working on OSX 10.6

This is my first MacBook and I'm trying to get virtual hosts up and running so as it's going to be my dev machine. I've got apache/php/mysql running fine, the problem is that what ever address I go ...
15
votes
10answers
32k views

Can I specify a port in an entry in my /etc/hosts on OS X? [duplicate]

Possible Duplicate: How to use DNS to redirect domain to specific port on my server I want to trick my browser into going to localhost:3000 instead of xyz.com. I went into /etc/hosts on OS ...