Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • well hell that makes it all too easy. one sec I'll give it a shot
    – Rob
    Commented Apr 18, 2010 at 8:21
  • 3
    Welcome to the simple world of PHP xD
    – elias
    Commented Apr 18, 2010 at 9:05
  • 7
    This is an alternative solution to the code problem, but doesn't solve the underlying infrastructure problem (DNS lookup failing.) As I'm getting the same issue from within Drupal, hacking someone else's contributed project is an undesirable option for me: instead, I can recommend the other answer in this thread, involving /etc/hosts, which did indeed fix my DNS.
    – J-P
    Commented Jul 15, 2013 at 14:36
  • 1
    I just had (have) the same problem, and after running Wireshark I saw that the router did not update his DNS cache yet and the newly created subdomain wasn't resolved yet. Commented Sep 15, 2014 at 23:24