Solved

Hostname / IP resolution

Posted on 2014-09-11
6
201 Views
Last Modified: 2014-10-09
I have a website in IIS 7. Currently, I have my users access the website on the internal network by using the internal IP address, then have the external users access it using the external IP address. I've been trying combinations of the IIS Bindings with the Window server hosts file--using the internal IP in IIS, the external in the IP, to try to resolve all of these to one hostname, crm.mysite.com, but I just can't figure this out--it's as if I have to use the IP address on internal while the hostname works on external, or vice versa. How can I get my hostname/subdomain to work on both internal and external without it resolving to an IP address in the address bar?
0
Comment
Question by:saturation
6 Comments
 
LVL 35

Expert Comment

by:Kimputer
ID: 40317308
on your internal DNS, make an A entry for crm.mysite.com, and let it have the IIS7 server internal IP
0
 

Author Comment

by:saturation
ID: 40317339
I did make an A entry for it on the DNS with the internal IP address--same issue...So I have three places:

1) DNS entry for the crm.mysite.com on the internal DNS server
2) Windows hosts file with a line for 192.168.15.13      crm.mysite.com
3) An IIS Binding for the same as #2.
0
 

Author Comment

by:saturation
ID: 40317404
In addition to my comment above, creating the DNS entry in the internal DNS server had already been completed when I submitted this question, and the problem still remains...Any other help?
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 40

Accepted Solution

by:
footech earned 500 total points
ID: 40317433
Remove any HOSTS file entries for the site - they're not needed.  All you need an A record in public DNS which points to the public IP (for clients on the internet), and an A record on your internal DNS which points to the private IP (for clients on your network).  If you have your firewall and NAT set up correctly that's all you need.  Shouldn't need to mess around with bindings in IIS.
0
 
LVL 15

Expert Comment

by:samri
ID: 40318596
also, plesae check on the IIS7.  You may need to adjust this to bind to the internal DNS name, and external DNS name as well.


As I am not familiar with IIS7 -- http://technet.microsoft.com/en-us/library/cc753195%28v=ws.10%29.aspx
0
 

Author Closing Comment

by:saturation
ID: 40372039
Thank you!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

837 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