Solved

how can i look up the ip of a subdomain

Posted on 2011-02-26
10
385 Views
Last Modified: 2012-05-11
How can i look up the IP of a subname?

I have created a subdomain but not traffiic seems to go to it?  I would like to check its IP.  How do i do that?
0
Comment
Question by:soozh
  • 2
  • 2
  • 2
  • +4
10 Comments
 
LVL 20

Expert Comment

by:CompProbSolv
ID: 34989251
What is the device whose IP address you want to know?  What OS is it running?
0
 

Author Comment

by:soozh
ID: 34989337
does it matter was machine/OS it is?

I thought that if I can look up the IP of a domain name using who is, there must be some way to look up the subdomain...
0
 
LVL 3

Expert Comment

by:Rick_at_ptscinti
ID: 34989624
I think I understand what you are asking...I am not sure of a look-up tool to do that.

I think the issue you are going to run into is that sometimes sub-domains are defined at the DNS level but other times at the application layer (ie inside the webserver software like IIS).  If it's done inside the webserver itself then the IP address is always the same.

What are you trying to find?
0
 
LVL 38

Accepted Solution

by:
ChiefIT earned 250 total points
ID: 34990310
Assuming your subdomain has outside servers as forwarders, you should be able to ping it by FQDN.

Example: Ping google.com

Other than that, you might try this web site to see if the FQDN resolves.  

http://www.selfseo.com/find_ip_address_of_a_website.php

If you were on that subdomain, you could go to a website called whatismyip.com to determine the outside IP address of your router.
0
 

Author Comment

by:soozh
ID: 34990962
When i look up the main domain i get an ip address returned, but it does not find the sub domian.

Does this mean the subdomain does not exist?  Maybe I have missunderstod how sub domains work.?

Who is responsible for resolving the ip address of the subdomain?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 37

Expert Comment

by:Neil Russell
ID: 34991450
DNS is responsible for all IP address's

Creating a subdomain on your external web hosting? Is this wht you mean?
0
 
LVL 3

Expert Comment

by:Rick_at_ptscinti
ID: 34992096
The sub-domains are most likely using the same IP address

1.  User enters www.mysite.com/test
2.  DNS resolves www.mysite.com to 4.4.4.4  (it doesn't care about the full path, only the domain)
3.  Browser reaches out to 4.4.4.4 and passes the full path it's trying to go to.
4.  Webserver itself looks at the full request and routes it to the appropriate sub-domain (in this case /test)

You can get a provider like network solutions to route your sub-domains to different IP addresses but that is a little easier to figure out because an NSLOOKUP will show you that it is resolving to a different IP.

Rick
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 34992124
"routes it to the appropriate sub-domain (in this case /test)"
/test is not a subdomain, it is within the same domain space.

A subdomain of www.company.com would be something like www.subdomain.company.com


0
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 250 total points
ID: 34992243
You can look up the IP address of a subdomain the exact same way you look up the IP address of a domain, or even a host.

If you look up the subdomain and it returns no address found, then somebody did not setup a DNS entry for it.

If it is truly a subdomain then somebody should have setup not only a DNS entry for it, but a full dns zone entry, just as if it were a base domain.
0
 
LVL 1

Expert Comment

by:BasementCat
ID: 34992280
You can look up a subdomain exactly like you would look up any other domain.  If the subdomain is "www" then it is entirely likely that the ip that the subdomain resolves to will be the same as the domain itself.  Otherwise, it may be different.  Open up a command prompt (windows) or a terminal (linux, osx) and try:
nslookup subdomain.domain.com

Open in new window

replacing "subdomain.domain.com" with the subdomain that you want to look up.  That will give you the IP that it is currently pointed to.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

9 Experts available now in Live!

Get 1:1 Help Now