PDA

View Full Version : Net question.



griffin
11th January 2010, 02:24 PM
When it comes to web domains, what's better/easier to admin/more stable/more efficient/etc:

(domain).com.au/something

or

something.(domain).com.au

jaydisc
11th January 2010, 03:23 PM
Creating a new (something).domain.com.au (aka hostname or subdomain) requires DNS and web configuration changes. To create a new domain.com.au/(something), you simply create a folder.

dirge
11th January 2010, 09:44 PM
Depending on how your registrar works, the (something).domain.com.au can be either easy or a ****** to set up & maintain. As Jay mentioned, the other option only requires a folder - so it's always easy. I guess it comes down to how much works your registrar asks of you vs. how much you care (:

kurdt_the_goat
11th January 2010, 11:16 PM
Some hosts will let you setup subdomains directly from the control panel interface without talking to anyone, so i'd login there and see if it's an option. Once it's setup, the main difference is that a subdomain can have it's own document root.

Personally, i think subdomains look nicer/more professional on a business card and are easier to remember, but you're just as likely to have someone say the opposite. Same for "SEO" benefits, there is probably negligible difference between the two.

jaydisc
11th January 2010, 11:36 PM
but you're just as likely to have someone say the opposite.

Me :D

It's really all down to the purpose and application.

Personally, I think a subdomain (not the proper term, but acceptable for the sake of this discussion), should be reserved for situations where the identification of the subdomain differs from the primary domain. For example, if you signup for an account at tumblr.com, you get myblog.tumblr.com, which by my rationale is much more appropriate then tumblr.com/myblog, as myblog.tumblr.com is really a completely different site with different content to [www.]tumblr.com.

An opposing example would be Tumblr's theme directory. Yes, they could have chosen to put this at themes.tumblr.com, but the themes are really an extension of what tumblr.com is about, so they chose the more appropriate URL of tumblr.com/themes.

There are technical reasons for both implementations as well. For example, a cookie assigned at myblog.tumblr.com [by default] will not be usable at tumblr.com. In some cases, this can be advantageous. In others, detrimental, which of course brings me back to my point:

It's really all down to the purpose and application.

Care to offer any more insight?

P.S. The cookie implementation at OTCA is broken as if a user logs in at www.otca.com.au, and then visits otca.com.au (no www.), the login is not recognized. This is because the cookie is assigned with a domain of www.otca.com.au which a browser will not send to otca.com.au. However, the reverse works fine (logging in at otca.com.au and then visiting www.otca.com.au). The fix is to hard set the cookie's domain to otca.com.au regardless of the hostname entered by the user. Alternatively, a mod_rewrite rule to make sure that all users access the site at the same domain would solve it, but I'm getting ahead of myself :D

kurdt_the_goat
11th January 2010, 11:44 PM
I should have expected that shouldn't i! Actually my own use of subdomains is limited to a few sites mostly on client request, but now that you mention it, they all fit into your 'subdomain regime' anyway :) I guess my personal opinion is skewed from the designer POV, i'm only concerned about looks :cool:

So i guess you're saying we need to know what Griffin's intended use is before offering up which is the better solution!

griffin
12th January 2010, 01:47 AM
Thanks for the insight guys, as I wasn't too sure if there was any reason for choosing one over another. My current host allows for 3 or 4 subdomains, which can be created easily in the control-panel, but long-term, what if that isn't enough? At least folders can be added without limit.
I was originally thinking that if it didn't matter either way, in terms of administrating the domain, or affecting its efficiency, which web-address format sounded easier to remember. One of the things I have been wanting to do for a while, and now have the chance to, is split off the main non-TFs toy sections (Lego and GIJoe to start with), and house them (and TFs) under a main toy-fan umbrella/mainpage. In the end though, I figure that if people can remember the main domain name anyway, it will be indexed to guide them to the desired themed subdomain or folder - and as such, if folders are easier to work with (I'm guessing, less clutter of files in the main domain folder?), it is probably the best way to approach this.

As for the cookie issue - I'll have a look into it as I never realised it was a problem. I figured 'www' was part of the address, so never thought that browsers would bring up anything from my domain (I thought the www would need to be manditory to access sites that have it in the address). I just tried it, and the main domain comes up with forum articles that are over a month old, which would probably be that cookie issue you mentioned.

GoktimusPrime
12th January 2010, 10:09 AM
register with a domain in the French Southern and Antarctic Lands (.tf) :) (at least one (http://www.transformersfanfic.com/) TF site has done it (although not anymore) ;)) :p

dirge
12th January 2010, 10:32 AM
.tf isn't accepting registrations. Which is why Lexicon had to move.

GoktimusPrime
12th January 2010, 11:02 AM
Aww, drillnuts! (>_<)