Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how can i look up the ip of a subdomain

Posted on 2011-02-26
10
Medium Priority
?
441 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 22

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
Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

 
LVL 39

Accepted Solution

by:
ChiefIT earned 1000 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 1000 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

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!

Question has a verified solution.

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

This program is used to assist in finding and resolving common problems with wireless connections.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

916 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