homepage Welcome to WebmasterWorld Guest from 54.196.62.132
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
Strange DNS issue that I can't get my head around.
mack




msg:4656477
 5:14 pm on Mar 23, 2014 (gmt 0)

My main site is getting a redesign, and I have been doing all the dev work on a local server. I wanted to create a sub-domain (beta.example.com) in order to upload the new work and fully test it out on the live server (password protected).

Went to host, set up the sub. created a web root for the sub and uploaded the files. went to the domain and there it was. Clicked through about 10 links then one link resolved to my home router.

hmmmm clicked back and again it was the router login page. typed the domain and again saw my router... went to another domain, worked perfectly then tried the new sub again. Router login page.

I could access any other site, even other sub-domains on the same domain. The problems only occurred when I visited the new sub. Then it started working fine again. then failed to load some images/css and then loaded the router login page.

It then got even stranger. It started displaying the first virtual host on my dev server...

It was around this point I remembered I did set up the same sub-domain about 5 months ago, and forwarded it to my IP address. I set up port forwarding on the router to point it to my dev server.

This record was removed months ago, and when I re created the sub-domain again today I used my host ip and pointed it to a folder at server root.

Can an old dns record really lie dormant in some far off dns server waiting for the record to be updated before rearing it's ugly head and causing this, or am I overlooking something simple here.

My head hurts!

Mack.

 

lucy24




msg:4656534
 8:23 pm on Mar 23, 2014 (gmt 0)

It then got even stranger. It started displaying the first virtual host on my dev server...

You mean, the one it defaults to if a request arrives at the server and can't find any of the named hosts? (Disclaimer: I only know this because just yesterday-- really-- I was wrestling with Virtual Hosts for my MAMP setup.) I assume the issue isn't in your computer's own hosts file, or you'd get the same behavior consistently.

mack




msg:4656552
 12:06 am on Mar 24, 2014 (gmt 0)


You mean, the one it defaults to if a request arrives at the server and can't find any of the named hosts?


Yep, that’s the one. I think the default is the first virtual host in the list that becomes the default.

I'm kinda convinced it's a bad DNS record that has went stale somewhere from the last time I used the same sub-domain. I removed the sub and re-created it with a different name and it works flawlessly.

I was getting no where trying to resolve it. Tracerouts where fine, ping was fine. It was just http requests that where going pear shaped :)

Thanks Lucy!

Mack.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved