Freelancer.com

Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > The Chat Room > Off Topic Forum
Register Blogs Social Groups Advertise with usHelp Desk

Reply
LinkBack Thread Tools
Unread 10th March 2012, 10:07 PM   #1
Active Warrior
War Room Member
 
Join Date: 2011
Location: Roseville, CA
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I find the IP address of a subdomain?

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?

vendor2012 is offline   Reply With Quote
Unread 10th March 2012, 10:10 PM   #2
Senior Warrior Member
War Room Member
 
kenmichaels's Avatar
 
Join Date: 2011
Posts: 1,837
Thanks: 1,172
Thanked 2,446 Times in 1,203 Posts
Default Re: How do I find the IP address of a subdomain?

Quote:
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,


Selling Ain't for Sissies
kenmichaels is offline   Reply With Quote
Unread 10th March 2012, 10:16 PM   #3
Active Warrior
War Room Member
 
Join Date: 2011
Location: Roseville, CA
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: How do I find the IP address of a subdomain?

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?

vendor2012 is offline   Reply With Quote
Unread 10th March 2012, 10:25 PM   #4
Senior Warrior Member
War Room Member
 
Join Date: 2003
Location: , , USA.
Posts: 11,603
Thanks: 6,704
Thanked 2,486 Times in 2,092 Posts
Default Re: How do I find the IP address of a subdomain?

Quote:
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
seasoned is offline   Reply With Quote
Unread 10th March 2012, 10:25 PM   #5
Senior Warrior Member
War Room Member
 
kenmichaels's Avatar
 
Join Date: 2011
Posts: 1,837
Thanks: 1,172
Thanked 2,446 Times in 1,203 Posts
Default Re: How do I find the IP address of a subdomain?

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



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


Selling Ain't for Sissies
kenmichaels is offline   Reply With Quote
Unread 10th March 2012, 10:50 PM   #6
Senior Warrior Member
War Room Member
 
Join Date: 2003
Location: , , USA.
Posts: 11,603
Thanks: 6,704
Thanked 2,486 Times in 2,092 Posts
Default Re: How do I find the IP address of a subdomain?

Quote:
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
seasoned is offline   Reply With Quote
Unread 10th March 2012, 11:48 PM   #7
Senior Warrior Member
War Room Member
 
kenmichaels's Avatar
 
Join Date: 2011
Posts: 1,837
Thanks: 1,172
Thanked 2,446 Times in 1,203 Posts
Default Re: How do I find the IP address of a subdomain?

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


Selling Ain't for Sissies
kenmichaels is offline   Reply With Quote
Unread 11th March 2012, 09:05 AM   #8
HyperActive Warrior
War Room Member
 
Join Date: 2011
Posts: 249
Thanks: 37
Thanked 20 Times in 20 Posts
Default Re: How do I find the IP address of a subdomain?

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!

Vaoser Link Ninja Software
DHV Delivery Systems FAILING at online dating???

Last edited on 11th March 2012 at 09:07 AM. Reason: Steve has put it perfectly!
TG12 is offline   Reply With Quote
Unread 11th March 2012, 09:08 AM   #9
HyperActive Warrior
War Room Member
 
Join Date: 2011
Posts: 249
Thanks: 37
Thanked 20 Times in 20 Posts
Default Re: How do I find the IP address of a subdomain?

Quote:
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...

Vaoser Link Ninja Software
DHV Delivery Systems FAILING at online dating???
TG12 is offline   Reply With Quote
Unread 12th March 2012, 09:24 AM   #10
Warrior Member
 
Join Date: 2012
Location: Bangladesh
Posts: 13
Thanks: 6
Thanked 3 Times in 3 Posts
Default Re: How do I find the IP address of a subdomain?

the world is a place where you can learn many things in a short time.
Andrew johnson4 is offline   Reply With Quote
Unread 12th March 2012, 09:33 AM   #11
Warrior Member
 
Join Date: 2012
Location: Bangladesh
Posts: 13
Thanks: 6
Thanked 3 Times in 3 Posts
Default Re: How do I find the IP address of a subdomain?

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?
Andrew johnson4 is offline   Reply With Quote
Unread 13th March 2012, 02:19 AM   #12
Web Developer
 
project1010's Avatar
 
Join Date: 2012
Posts: 128
Thanks: 1
Thanked 15 Times in 14 Posts
Default Re: How do I find the IP address of a subdomain?

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
project1010 is offline   Reply With Quote
Reply

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace > The Chat Room > Off Topic Forum

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:54 AM.