CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Building my sub-domain and folder structure ?? (http://www.codingforums.com/showthread.php?t=285819)

jeddi 01-15-2013 01:30 PM

Building my sub-domain and folder structure ??
 
Hi

I am setting up a website for an organisation
which has quite different operating companies.

They want one website.

Having read a lot about sub-directories verses sub-domians
it seems that this situation requires a sub-domain approach.

So we will have :

farming-equipment.example.com
double-glazing.example.com
office-cleaning.example.com

Now my question is about how to deal with categories of articles
and sales pages.

For example:

The article "Tractor Maintenance - 6 Monthly Checklist"
Needs to be in the "farming-equipment.example.com" section.

So would it be like this:

farming-equipment.example.com/articles/Tractor-Maintenance-6-Monthly-Checklist.htm

and my sales pages in a seperate directory:

farming-equipment.example.com/catalog/hoes.htm

Is this the proper way to mix sub-domains and sub-directories ?

Presumably I should stay clear of nested sub-domains like this:

articles.farming-equipment.example.com/Tractor-Maintenance-6-Monthly-Checklist.htm

I would very much appreciate advice and relevant experience of handling this kind of situation.

Many thanks.

.

COBOLdinosaur 01-15-2013 05:02 PM

It would be:
farming-equipment.example.com/articles/Tractor-Maintenance-6-Monthly-Checklist.htm

The directory setup for most hosting providers would be that there would be a farming-equipment directory under the the primary directory for the site, and the name server would resolve the location.

Generally the hosting provider interface for creating sub-domains would create the correct directory structure as part of the creation processing.

jeddi 01-17-2013 06:11 AM

Thanks.


I have access to a dedicated server,
so I can set it up how I want.

so... any other thoughts on this ??


.

COBOLdinosaur 01-17-2013 04:51 PM

Then you should follow the recommendation in the documentation for the server software you are going to use.


All times are GMT +1. The time now is 10:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.