Jump to content

Difference between somefolder.somesite.com and somesite.com/somefolder?


webmaster1

Recommended Posts

I'm not familiar with the punctuated approach. Is there a specific terminology used to refer to this type of url so I can search for a few explanations?

 

Are there any benefits to using one over the other? WHEN should I use either one or does it even matter?

Link to comment
Share on other sites

I usually use subdomains for a separate set of content on a domain. For example, I have three sections on my domain - one for anonymous users, one for family/friends, and one for clients. All three have different data on them, though they use the same site design. The three domains are:

 

personal.domain.com

clients.domain.com

www.domain.com

 

All of these could be done in sub folders, but I prefer to keep them as distinct domain names to prevent people accidentally accessing the wrong domain and/or myself posting the wrong data to the wrong domain.

 

I do also have three more sub-domains:

js.domain.com

css.domain.com

img.domain.com

 

I serve javascript, css and images from these three domains to speed up the page load time slightly. But they are never directly accessed by anyone.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.