How do I find the IP address of a subdomain?

12 replies
  • OFF TOPIC
  • |
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?
  • 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,
    Signature

    Selling Ain't for Sissies!
    {{ DiscussionBoard.errors[5801639].message }}
  • 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?
    {{ DiscussionBoard.errors[5801665].message }}
    • 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
      Signature

      Selling Ain't for Sissies!
      {{ DiscussionBoard.errors[5801692].message }}
      • Profile picture of the author seasoned
        Originally Posted by kenmichaels View Post

        the name server sends requests to the appropriate sub 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
        Actually, subdomains CAN have their own IP address, even on the same physical server. ONE server can have like 1024 different IP addresses. Of course, today it would be hard to justify, so iana may balk at it.

        to make this easier to understand, let's decode a URL

        Amazon.com: The Creature from Jekyll Island : A...Amazon.com: The Creature from Jekyll Island : A...
        This means:

        (protocol)://(sub domain).(domain).(TLD)/(dir)?(par #1)&(par #2)&(par #3)

        The protocol is http which means a basic standard clear text HTML server! Many call this simply a web server. BTW NO port is defined in this URL, so it uses the default for http, which is port 80.

        sub domain is www BUT, you would usually use the whole thing.

        domain is amazon, but you usually add the TLD which is com here.

        dir is "The-Creature-Jekyll-Island-Federal/dp/0912986212/ref=sr_1_1" here. Since that is not normally legit, with the =, it is probably changed internally.

        the pars have a defacto standard, but it is NOT enforced! We have THREE here.

        ie=UTF8 I won't try to decipher the rest, but UTF8 is UNICODE speak for full 8 bit ASCII. It is what is known as a CODE PAGE.

        qid=1331440571

        sr=8-1

        SO, what the server does is....

        1. Build the FULL domain of www.amazon.com.
        2. Using the TLD of com, it goes to the right location to get the IP address of the dns server.
        3. Using that info, at the dns server, it gets the IP address.
        4. It goes to port 80(because it is http) on that IPs server.
        5. The server runs the service for that port, and processes the info accordingly.

        Steve
        {{ DiscussionBoard.errors[5801788].message }}
        • Profile picture of the author kenmichaels
          Originally Posted by seasoned View Post

          Actually, subdomains CAN have their own IP address, even on the same physical server.
          learn something new everyday. Thanks
          Signature

          Selling Ain't for Sissies!
          {{ DiscussionBoard.errors[5801994].message }}
          • Profile picture of the author TG12
            There seems to be so much mis information on here its unreal about this kind of thing! Of course a sub domain can have a different IP address if its on the same physical server. Depends on how the backend is set up. To most of you this wont matter. The first poster posted is most likely a just a directory not a subdomain....

            Steve has put it perfectly!
            Signature
            Vaoser Link Ninja Software
            DHV Delivery Systems FAILING at online dating???
            {{ DiscussionBoard.errors[5803818].message }}
          • Profile picture of the author Andrew johnson4
            the world is a place where you can learn many things in a short time.
            {{ DiscussionBoard.errors[5810204].message }}
    • 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...
      Signature
      Vaoser Link Ninja Software
      DHV Delivery Systems FAILING at online dating???
      {{ DiscussionBoard.errors[5803832].message }}
  • 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
    {{ DiscussionBoard.errors[5801691].message }}
  • 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?
    {{ DiscussionBoard.errors[5810289].message }}
  • 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
    {{ DiscussionBoard.errors[5815659].message }}
  • Profile picture of the author Nitin Kumar
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[10991802].message }}
    • Profile picture of the author Regional Warrior
      Originally Posted by Nitin Kumar View Post

      You can only do this if you are connecting to a DNS server for the domain -and- XFER is enabled for your IP address.
      So you drag up a thread that is 5yrs old for what ?? forget to spam because you are bad it !! I would try another filed like playing bad cricket that would be good
      {{ DiscussionBoard.errors[10991965].message }}

Trending Topics