Solved

Windows 8 fails to load HTTPS site for Windows 2012 RD Gateway when redirected with local Host file

Posted on 2013-01-23
11
1,014 Views
Last Modified: 2013-01-24
I have a Windows 2012 server which we are testing with RD Gateway and 2 Windows 8 workstations.  To test the RD Gateway I change the entry in the Host file to redirect my TSGateway from the production system to the Test system.  Now the strange part is that I can open and view the RD Gateway default web page from a Windows 8 system that was upgraded from Windows 7, but a Fresh install of Windows 8 fails to view the default web page.  The fresh load can ping the TSGateway by name and replies with the correct address, so I know that part works.  If I change to my production Windows 2008 TS Gateway server, both the upgraded and fresh install system connect without a problem.

Is there something new in Windows 8/IE 10 that causes problems when trying to use the Host file for HTTPS sites?  

Thanks
0
Comment
Question by:YeoLyle
  • 6
  • 5
11 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 38811356
What is the error you get when trying to view the page from the windows 8 (freshly built) system.
0
 

Author Comment

by:YeoLyle
ID: 38811714
The error is pretty generic "This page can't be displayed".  When I run the IE 10 capture the packets I see under the Initiator Frame URL "res:ieframe.dll/dnserror.htm".  I receive this error when the Windows 8 system is outside our network.  Now here is the kicker, when the Windows 8 system is connected internally the "Host" edit allows the connection to the TSGateway and displays the web page.  So it appears that only when I want to test using a Host file through the public Internet does it not want to work.

Thanks.
0
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 38811768
Run the following command to determine if your dns is resolving via the dns server the win8 system is using

nslookup hostname.com  (Where hostname is the name for the gateway you are connecting to)

This should be able to tell you if that name is resolving publicly, you can also try doing an nslookup at http://centralops.net.


It sounds like it might just be dns where the dns server handling NS for your domain might not be responding or does not have an A record for that domain name / host.
0
 
LVL 29

Expert Comment

by:becraig
ID: 38811925
Also in the browser click on the more information button to see what error is displayed there might be more information there.
0
 

Author Comment

by:YeoLyle
ID: 38812243
NSLookup is working as designed where it does return the Internet DNS record.  I am using a HOSTS file with a custom record for the RDGateway to point to my Test system.  The HOSTS file is checked before DNS and so IE should not be looking for the DNS record.  
On the Windows 7 upgraded to Windows 8 both command prompt and IE return the Test system when the HOSTS file is configured.
On the Windows 8 fresh load the Command prompt returns the IP Address from the HOSTS file, but IE just goes no where.  I have attached the screen shot of the errors I have, but this should not be a DNS issue since DNS should not be checked if the record is found in the HOSTS file.  Well at least that is they way IE used to work.
RDGatewayError.PNG
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 29

Expert Comment

by:becraig
ID: 38812275
This sounds like a proxy override in the browser.

Please check the connection settings in the browser and uncheck any proxy / autocheck boxes you see selected restart the browser and try again.
0
 

Author Comment

by:YeoLyle
ID: 38812822
That is a good thought.  I do have a proxy, but removing it was one of the first things I tried.  Even attempted to restart IE after removing it, still no go.  I even scoured the advance settings in IE and Site settings.  I even went as far as resetting IE back to the Defaults which removes the proxy settings and many more, but still no joy.  This happens on both my home network and even if I am on a public network not protected by a firewall.  The odd part is that if I am internal to the network, I can use an Internal IP address in the Hosts file without a problem.

Your idea made me think, so I then went through the services to see if by chance there was something in there, and stopped any services that even resembled Connection, DNS, or Proxy services.  Again I still was unable to browse the page.

Part of me thinks if I put the test system active in DNS, that it will work, but it doesn't give me the warm fuzzy feelings when things don't work as you expect.

Thanks
0
 
LVL 29

Expert Comment

by:becraig
ID: 38812874
ok So here is a silly question, is there a device between the internet and your RD server ?

It seems as you indicate DNS resolves perfectly and once you are inside you can route to the server by internal ip.

It sounds as though traffic is not routing to that box on the public side.

Can you provide a little more info on the network architecture ?
0
 

Author Comment

by:YeoLyle
ID: 38814034
Doubt that it is the Firewalls, since the Windows 7 box that was upgraded to Windows 8 works fine, as well as any number of Windows 7 systems.  It is Just the fresh loaded Windows 8 is giving me fits.

Thanks.
0
 
LVL 29

Expert Comment

by:becraig
ID: 38814060
Ok I just re-read your original post (Sometimes in the discussion you miss things)

Do this from the fresh box:
1. run tracert to the domain name and see if it resolves to the correct (test server)
2. try installing fiddler - www.fiddlertool.com on the win8 box to see what route it takes when you call it in the browser.

Let me know how both things go for you.
0
 

Author Closing Comment

by:YeoLyle
ID: 38817013
Wow do I feel silly.  I had a Dyslexic moment.  I looked at the IP Address multiple times, but today noticed I had the 2nd digit in the IP address incorrect.  

Thanks for your help, but in the end it ended up being user error.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now