How do I find the IP address of a subdomain?

by 11 comments
How do I find the IP address of a subdomain?
For example, I know how to get the IP of www.abc.com

But how do I get the exact IP of www.abc.com/abc

Is that possible? The IP has to be routed to the subdomain?
#off topic
  • Profile picture of the author kenmichaels
    Originally Posted by vendor2012 View Post

    How do I find the IP address of a subdomain?
    For example, I know how to get the IP of www.abc.com

    But how do I get the exact IP of www.abc.com/abc

    Is that possible? The IP has to be routed to the subdomain?
    its the same ip.

    the routing is done via , dns,
  • Profile picture of the author vendor2012
    but the subdomain must have it's own IP address... 192.168.1.1:XXX

    or something like that maybe? Can you ping a subdomain or only the root domain?
    • Profile picture of the author kenmichaels
      Originally Posted by vendor2012 View Post

      but the subdomain must have it's own IP address... 192.168.1.1:XXX

      the name server sends requests to the appropriate sub domain



      Originally Posted by vendor2012 View Post

      or something like that maybe? Can you ping a subdomain or only the root domain?

      the only way you could ping a sub domain, is if the sub domain resided on a different server ( ip address )....

      like ftp.somedomain.com

      sometimes they do, some times they don't. but that type of sub domin
      is not usually accessible via browser... and again. the DNS routes it
    • Profile picture of the author TG12
      Originally Posted by vendor2012 View Post

      but the subdomain must have it's own IP address... 192.168.1.1:XXX

      or something like that maybe? Can you ping a subdomain or only the root domain?
      No thats a private address with a port reference on the end. You can ping anything as long as the firewalls allow it...
  • Profile picture of the author seasoned
    Originally Posted by vendor2012 View Post

    How do I find the IP address of a subdomain?
    For example, I know how to get the IP of www.abc.com

    But how do I get the exact IP of www.abc.com/abc

    Is that possible? The IP has to be routed to the subdomain?
    abc.com is a 2nd level domain name, or what is usually called a domain name. It can have it's own IP address.

    www.abc.com is a 3rd level domain name, or what is usually called a subdomain name. It can have it's own IP address, even though www is USUALLY the same.

    www.abc.com/abc is a DIRECTORY(abc) in the base directory of the domain www.abc.com and MUST have the SAME IP as www.abc.com. There is NO provision ANYWHERE to declare an IP for a directory. Of course, domain names, and protocols, generally declare a given BASE directory. That depends on the setup and you may need to go to your webhost to find that out. You could almost think of the IP(for IPv4) as a set of 5 numbers. 4 are one byte numbers, and in a group known as the IP address. The fifth is a 2 byte number called the port. The IP says the system and or part of the system, and the port says whch service and often points to a different base directory.

    Steve
  • Profile picture of the author Andrew johnson4
    I never never used subdomains before? why it so necessary to truck a sub domain? are they helpful? please let me to know farther about it?
  • Profile picture of the author project1010
    what is my ip , this is firefox extension install on yr browser
    after installation @ bottom of yr browser you can see yr site or any site IPs address .
    thanks

Next Topics on Trending Feed