IIS external IP

1..is there anywhere in IIS manager where you can see the servers external IP address, or any command you can run when remote desktop'd onto the IIS server to get both internal and external IP address?

2..Also - if your server hosts several sites, when I use an app such as nslookup, it only returns 1 site... how can you enumerate all sites/apps on that server? And out of interest, how does it determine which site to return in nslookup when you just supply the servers external IP?
LVL 3
pma111Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul MacDonaldDirector, Information SystemsCommented:
1)  No, but you can PING the site to get its external IP address
2)  NSLOOKUP on a site name will return an IP address for that host/site.  You would need to NSLOOKUP all the sites in order to return all the IP addresses
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kulboyCommented:
to check the external ip, you can go to a website like this http://ipaddress.com/  from the machine you want to check.
The internal ip can be checked with command prompt ipconfig.

It will list all the internal ip's

from within iis you can check the bindings per website to check what is mapped to what website.
Right click a web site-> Edit Bindings.

with powershell you can use this to check all bindings:
Import-Module WebAdministration
Get-WebBinding

Open in new window

0
Dan McFaddenSystems EngineerCommented:
1. There is no external/internal IP address map command.  If your web servers are not directly using routable IPs then another device will be managing the external-to-internal address mapping.  Either a router or firewall would be doing this.

Get a list of the external-to-internal mappings from the security device, then compare that list to the site bindings in IIS Manager.

2. You can see the list of all sites hosted by IIS by using the IIS Manager utility.

NSLOOKUP is a tool to verify DNS zone records. It does not test anything on or in IIS.

Dan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.