File Upload/Storage Question

  • bgraybr
  • Novice
  • Novice
  • bgraybr
  • Posts: 26

Post 3+ Months Ago

I've seen some webpages with URL's that look like this one:

http://www.test.example.com/

The part I am wondering about is the . in the middle, what does it represent?

Sorry if this question is vague I really didn't know how to word it.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Breeze
  • Photographer
  • Guru
  • User avatar
  • Posts: 1029
  • Loc: Australia

Post 3+ Months Ago

http://www.test.example.com/ is a subdomain.
http://www.example.com is the domain.

I'm sure there are people who could explain it a bit more thoroughly, but it's like a website within a website.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

http://test.example.com/

Test is a subdomain while example is a domain.

The . represents the separator... it basically tells that test is part of example.

And by the way, there are no www's when a subdomain is present...

http://www.domain.com is correct
sub.domain.com is correct
http://www.sub.domain.com is incorrect

Breeze basically got that right :lol:
  • Breeze
  • Photographer
  • Guru
  • User avatar
  • Posts: 1029
  • Loc: Australia

Post 3+ Months Ago

Bogey wrote:

http://www.domain.com is correct
sub.domain.com is correct
http://www.sub.domain.com is incorrect

Breeze basically got that right :lol:


Forgot that bit though :P
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

Breeze wrote:
Bogey wrote:

http://www.domain.com is correct
sub.domain.com is correct
http://www.sub.domain.com is incorrect

Breeze basically got that right :lol:


Forgot that bit though :P

You did :)


But we all do forget things
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Well actually, www is a subdomain Bogey ;)
Wikipedia wrote:
A domain name usually consists of two or more parts (technically labels), which are conventionally written separated by dots, such as example.com.

  • The rightmost label conveys the top-level domain (for example, the address www.example.com has the top-level domain com).
  • Each label to the left specifies a subdivision, or subdomain of the domain above it. Note: “subdomain” expresses relative dependence, not absolute dependence. For example: example.com is a subdomain of the com domain, and www.example.com is a subdomain of the domain example.com. In theory, this subdivision can go down 127 levels. Each label can contain up to 63 octets. The whole domain name may not exceed a total length of 253 octets. [6] In practice, some domain registries may have shorter limits.
  • A hostname refers to a domain name that has one or more associated IP addresses; ie: the 'www.example.com' and 'example.com' domains are both hostnames, however, the 'com' domain is not.

http://en.wikipedia.org/wiki/Domain_name_system
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

I know SpooF, the reason www. is not allowed in a sub-domain site (http://www.sub.domain.com) because I don't think you can have two subdomains in one time... (sub1.sub2.domain.com) and that is what that is doing...

You can get around that by making one subdomain with a period between two words (my.poems.profile.com)... (At some hosts at least anyway).
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

You can stack subdomains 127 levels. Most host have apache (or what ever they are using) configured so it automaticly include the www subdomain.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

SpooF wrote:
You can stack subdomains 127 levels. Most host have apache (or what ever they are using) configured so it automaticly include the www subdomain.

Well, that's now what I read on some sites... I've actually read a ticket on some hosting company's knowledge base about one user asking how to have a subdomain work with www. in front and they told that user to simply create a subdomain with a www. in front of it by default...

Now that I talk about this, that domain is WebFaction, and they don't use cPanel. And I don't really know how their Apache is set up (or what ever they are using).
  • Breeze
  • Photographer
  • Guru
  • User avatar
  • Posts: 1029
  • Loc: Australia

Post 3+ Months Ago

So what happens if you have a domain like Bogey says with periods ... like "example.this.is.one.of.them.com" and then someone has "this.is.one.of.them.com" and wants to add the subdomain "example"?
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

well you buy the second level domain on .com domains, you buy the third level domain on co.uk domains. So you can't buy "example.this.is.one.of.them.com" you buy "them.com" so the person with "example.this.is.one.of.them.com" already owns "this.is.one.of.them.com", go to godaddy and try to buy a domain with periods in it other than the extending tld

@bogey, thats just how webfaction is set up, but each level of a domain is seperated by a period.
  • Breeze
  • Photographer
  • Guru
  • User avatar
  • Posts: 1029
  • Loc: Australia

Post 3+ Months Ago

I get it ... I think :D
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

If you really wanted too you could buy a domain and sell sub domains off it, all you would need to do is set up dns forwarding.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

It works a lot like a file path, but going in the oppisite direction, and it uses a dot separator instead of forward slashes.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6252
  • Loc: Seattle, WA

Post 3+ Months Ago

Kind of makes you wonder why it was structured in reverse...

http://com.ozzu.www/forums.html
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

spork wrote:
Kind of makes you wonder why it was structured in reverse...

http://com.ozzu.www/forums.html


Rule of thumb is odd differences like that are generally attributed to something being added as an afterthought and backwards compatibility needing to be maintained isn't it ?

Post Information

  • Total Posts in this topic: 16 posts
  • Users browsing this forum: No registered users and 39 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.