Page 1 of 1

local DNS server

PostPosted: 29. May 2006 12:51
by doubleclick
Hey -

Spent all weekend setting up a local replica of my website using XAMPP. Most of it's fine (thanks to a little help from this forum), but now I have hit another small snag.

One of the PHP scripts I have creates html files on the fly, and names them something like this:

"http://mysite.com/something/1234.htm"

Is there a way to either create or to fake a DNS server so my local version will know where to look? So that "mysite.com" will resolve to "localhost"?