Solved

Hostname / IP resolution

Posted on 2014-09-11
6
198 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 39

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Article by: rfc1180
The Maximum Segment size (MSS) is an important consideration when troubleshooting connectivity via the Internet/Intranet. As the packets are routed via the Internet/Intranet, the packets must traverse through multiple routers in the path between two…
Resolve DNS query failed errors for Exchange
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

708 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

16 Experts available now in Live!

Get 1:1 Help Now