Solved

how can i look up the ip of a subdomain

Posted on 2011-02-26
10
394 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Comparing Internet speeds via throughput 3 34
Failing ALG SIP test for new VoIP phone system 4 46
SOFS cluser offline 3 40
network error 8 33
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

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