Didn't you say the web server was EXTERNAL to the users? If so, I'm not sure why or how hairpin NAT would come into play.
On Thu, Aug 1, 2013 at 4:21 PM, J- P <[email protected]> wrote: > So the www was put back on the website and it now opens the page but not > correclty, > > I have read that there are 2 things that can cause this effect > > 1)use relative links as opposed to absolute links (not likely that will > happen) > > > http://superuser.com/questions/259898/why-doesnt-my-website-doesnt-display-correctly-when-its-accessed-via-another > > You need relative links rather than absolute links. So instead of > something like this in your html: > > <link rel="stylesheet" type="text/css" href="http://example.com/mysite.css" /> > <img src="http://example.com/images/someimage.png" alt="Some Image" /> > > You need it to look like this: > > <link rel="stylesheet" type="text/css" href="/mysite.css" /> > <img src="/images/someimage.png" alt="Some Image" /> > > or that the router is not doing "Hairpin Nat" correclty > > > "This may help a little bit, but he wouldn't have to do it if his router did > hairpin NAT correctly." > > > > Can anyone shed some light on this hairpin nat? > > > > > > > > > > > > > > Jean-Paul Natola > > > > ------------------------------ > From: [email protected] > To: [email protected] > Subject: RE: [NTSysADM] Access to website from inside WITHOUT host file > change > Date: Thu, 1 Aug 2013 10:00:30 -0400 > > Already emailed him and the client that it needs to be fixed. > > > thanks all > > > > > > > > > > > > Jean-Paul Natola > > > > ------------------------------ > From: [email protected] > To: [email protected] > Subject: RE: [NTSysADM] Access to website from inside WITHOUT host file > change > Date: Thu, 1 Aug 2013 13:17:31 +0000 > > Have the designer fix the page. Seriously. > > > > That behavior is broken. > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *J- P > *Sent:* Thursday, August 1, 2013 9:07 AM > *To:* [email protected] > *Subject:* RE: [NTSysADM] Access to website from inside WITHOUT host file > change > > > > if I do a ping to www.domain.com it finds the right address, however, > when you try to open the page it fails because the designer removed > /redirected www.domain.com to domain.com, which is the local /internal > domain name. > > only with the host file entry; > > xxx.xxx.xxx.xxx domain.com > > will it load the site, > > however doing that seems incorrect to me > > > > > > > > > > > > > ------------------------------ > > From: [email protected] > To: [email protected] > Subject: RE: [NTSysADM] Access to website from inside WITHOUT host file > change > Date: Wed, 31 Jul 2013 23:25:20 +0000 > > DNS wouldn’t be doing that. So, something on your webserver, your > website’s application code, or some intermediate device (e.g. a proxy > server) is doing that. > > > > If you do “ping www.domain.com” from an internal machine, does it resolve > to the correct IP? If so, then the problem isn’t at the IP (and thus DNS) > layer. It’s at a higher layer in the stack. > > > > Cheers > > Ken > > > > *From:* [email protected] [ > mailto:[email protected] <[email protected]>] *On > Behalf Of *J- P > *Sent:* Thursday, 1 August 2013 3:47 AM > *To:* [email protected] > *Subject:* RE: [NTSysADM] Access to website from inside WITHOUT host file > change > > > > I have the www A record in DNS but it will not load the page without the > host entry , what I seem to notice is that website seems to be redirecting > www.domain.com to domain.com , could this be causing the issue? > > > > > > > > > > > > > > Jean-Paul Natola > > > > > > Date: Wed, 31 Jul 2013 10:42:22 -0700 > > Subject: Re: [NTSysADM] Access to website from inside WITHOUT host file > change > > From: [email protected] > > To: [email protected] > > > > A static A record in your AD DNS for 'www' pointing at your off-site > > web server should work just fine - that's exactly what I use. > > > > What happens when you take the entry out of the hosts file, and add in > > the DNS entry for 'www'? > > > > Kurt > > > > On Wed, Jul 31, 2013 at 10:26 AM, J- P <[email protected]> wrote: > > > Hi all, > > > > > > I would like to know what is the proper way to have internal users of > > > domain.com access their externally hosted website of the same name > > > www.domain.com. > > > > > > my "work around" has been to add an entry in the host file of the pc > with > > > the external (hosted website) IP such as this; > > > > > > 64.61.120.50 domain.com > > > > > > which was ok for one or two users, I would like to be able to do it > without > > > this hack/mod. > > > > > > When I tried to add a www record in DNS (Active Directory) the browsers > > > never make it to the page- > > > > > > I believe* this is something "split-dns" related. > > > > > > Any pointers are appreciated. > > > > > > TIA > > > > > > > > > > > > > >

