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:
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"?