Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 11:29:50 AM

Pages: [1]   Go Down
  Print  
Author Topic: need advice... subdomain vs. subfolder  (Read 1043 times)
meshackdotcom
Newbie
*
Offline Offline

Posts: 4


« on: February 17, 2008, 10:04:20 PM »

Hello everyone... I'm new here and it looks like a pretty active forum so I'm hoping for some good answers.

So yeah, what I'm wondering is if there are any benefits (or downfalls) to using subdomains to organize a site as opposed to using a the folder structure. So for example, say I have a section on cars...

Code:
cars.mydomain.com
vs.
www.mydomain.com/cars

I don't know if you need to know this or not, but I'm rebuilding from the ground up my website. It doesn't really have a central theme, but I plan to just host a bunch of random "projects." Each project could almost be a standalone site, having it's own theme, colors graphics. The only thing I would want to keep the same throughout is the navigation.

I've never set up a subdomain... so I'm wondering if it's worth it to go through the effort. Your feedback is greatly appreciated... Thanks!
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12837


WWW
« Reply #1 on: February 18, 2008, 05:48:13 AM »

I think either/or would be good - once you decide to go with one though, the important thing is - is to stick with it.  Also make sure that your code, HTML, and more reflect the choice that you made.  For example, you will want to make sure you use sub.domain.com as your URL for that site always to make sure search engine robots don't crawl that path and the domain.com/sub/ path and then lower your ranking because of duplicate content.
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #2 on: February 19, 2008, 09:20:57 PM »

A subdomain is like it's own little site and it doesn't "know" about pages outside itself. This makes more work when creating hyperlinks from one section to another because you may need to use a full url instead of a simple relative link. I believe you'll find it easier to use folders.
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
jasher
Pong! (the videogame) Master
*****
Offline Offline

Posts: 25



WWW
« Reply #3 on: February 23, 2008, 09:20:14 AM »

...This makes more work when creating hyperlinks from one section to another because you may need to use a full url instead of a simple relative link. I believe you'll find it easier to use folders.

Yes, definitely additional administrative issues come with subdomains.  They're a piece of cake to set up in Lunar Pages CP, but managing separate sites can be a hassle. 

Subdomains are a really good feature when you want to isolate software applications, like forums or e-commerce systems.  Keeping that code isolated in a subdomain and using a separate database helps you manage software more easily and with less risk of an error crashing an entire website. 

And someone correct me if I'm wrong, but as of a couple of years ago using subdomains was really beneficial in search engine marketing.  SE's considered (and certainly still do to some degree) a subdomain as a completely new and separate web site.  Just make sure there's enough content there to justify it.

If you're going to use it for separating content as you suggested, and not for a specific software system, I'd start with the easier domain.com/cars, and if you develop enough content there to justify using a subdomain, turn that folder into a subdomain and use 301 redirects to point inbound traffic from the domain.com/cars location to the to cars.domain.com location.

Jerry
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: