Solved

how can i look up the ip of a subdomain

Posted on 2011-02-26
10
428 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +4
10 Comments
 
LVL 21

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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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
 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 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