Developing on Mac - DNS question

hartten

Registered
Hi,

I am a web developer. I just switched from XP to Mac OSX on a 20" - wow.

Ok here is the problem. I often start new ecommerce web sites before the DNS is changed to our servers. So I need a way to "fool" my mac browser into looking for DNS locally for a specific domain name - before it looks at the real DNS server.

In XP I used to just open the hosts file in c: \windows\system32\drivers\etc and add a link like"

192.113.23.112 www.swankmartini.com

I think that IE would look to the hosts file first before it goes to DNS. Works out nice. I can leave the old site up and work in the new server with just my computer.
Any idea on how I can do this with a MAC? I see a /etc/host file, but it does not work the same as on XP...

Thanks for any advice.

Ian Hartten
 
You can modify the NetInfo database with NetInfo Manager to look something like this attached image. For name put the domain you want and the respective IP address.
 

Attachments

  • Picture 1.png
    Picture 1.png
    47 KB · Views: 8
Back
Top