Forum Moderators: phranque

Message Too Old, No Replies

Subdomain Setup Guide?

How can I make sure that everything runs smoothly?

         

rjbearcan

11:08 pm on Dec 27, 2006 (gmt 0)

10+ Year Member



In a topic that is certainly repeated, I have decided to make use of subdomains since the website that I am currently working on will be split geographically so that uk.whatever.com will be about UK content and ca.whatever.com will be about Canada etc.

What I am concerned about is how to set it up. My host sets it up so that each subdomain goes to a different folder. Right now the files are in my root folder and if I start adding new folders for each subdomain, I'm concerned that it will be just one big mess and that the spiders will be indexing it incorrectly.

Am I concerned over nothing or should I make sure that each subdomain gets their own folder and move everything from public_html to a new folder before the site goes live?

Karma

11:08 am on Dec 28, 2006 (gmt 0)

10+ Year Member



Hi rjbearcan,

I'm able to add subdomains using the cpanel that was supplied with my hosting package. It's a simple process really, you tell it what you want the subdomain to be called (I.e. CA), it then creates a subfolder in public_html for you named CA. All url requests to ca.whatever.com are then sent to the root of public_html/ca/

I'm not sure what will happen if the folder CA already exists when you add the subdomain though.

So anyway, to answer your question: Yes, you will need a subfolder for each subdomain, which can get pretty messy. Just make sure subdomains are the right choice. Each subdomain that you create is treated as a different website to the search engines, so you'll need to build links and market each of your different subdomains.

rjbearcan

9:23 pm on Dec 28, 2006 (gmt 0)

10+ Year Member



Thanks for the quick reply. I can and have set up subdomains using the cpanel but I have never used them before so I wasn't sure if it would be better to get my main site out of the public_html folder and into a new one such as 'us'. I don't really care how messy it gets as long as it's easy for the search engines to crawl.

alfaguru

6:03 pm on Dec 29, 2006 (gmt 0)

10+ Year Member



I don't really care how messy it gets as long as it's easy for the search engines to crawl.

Search engines don't see the messiness. They see links and they follow them. They neither know nor care how those links are mapped to folders. However:

Subdomains, as far as search engines are concerned, are different sites. For that reason you should take care to limit the amount of duplicated content accessible through the different subdomains. Try to ensure that every page you serve has a single canonical URL, if possible. So if widgets.com/canada points to the same page as ca.widgets.com, for example, you should use a 301 redirect from one of these two addresses to the other, so that search engines know both are the same page, and don't penalise you for duplication.