Solved

Hostname / IP resolution

Posted on 2014-09-11
6
200 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

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…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

22 Experts available now in Live!

Get 1:1 Help Now