Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-15-2013, 01:30 PM   PM User | #1
jeddi
Senior Coder

 
Join Date: May 2006
Posts: 1,515
Thanks: 26
Thanked 4 Times in 4 Posts
jeddi has a little shameless behaviour in the past
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.

.
__________________
If you want to attract and keep more clients, then offer great customer support.

Support-Focus.com. automates the process and gives you a trust seal to place on your website.
I recommend that you at least take the 30 day free trial.

Last edited by jeddi; 01-15-2013 at 01:34 PM..
jeddi is offline   Reply With Quote
Old 01-15-2013, 05:02 PM   PM User | #2
COBOLdinosaur
Regular Coder

 
COBOLdinosaur's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 293
Thanks: 0
Thanked 18 Times in 18 Posts
COBOLdinosaur is an unknown quantity at this point
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.
__________________
100% standards compliant code is 100% correct 100% of the time.
one of my toys from my repository and perhaps some help getting help

Cd&
COBOLdinosaur is offline   Reply With Quote
Old 01-17-2013, 06:11 AM   PM User | #3
jeddi
Senior Coder

 
Join Date: May 2006
Posts: 1,515
Thanks: 26
Thanked 4 Times in 4 Posts
jeddi has a little shameless behaviour in the past
Thanks.


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

so... any other thoughts on this ??


.
__________________
If you want to attract and keep more clients, then offer great customer support.

Support-Focus.com. automates the process and gives you a trust seal to place on your website.
I recommend that you at least take the 30 day free trial.

Last edited by jeddi; 01-17-2013 at 11:00 AM..
jeddi is offline   Reply With Quote
Old 01-17-2013, 04:51 PM   PM User | #4
COBOLdinosaur
Regular Coder

 
COBOLdinosaur's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 293
Thanks: 0
Thanked 18 Times in 18 Posts
COBOLdinosaur is an unknown quantity at this point
Then you should follow the recommendation in the documentation for the server software you are going to use.
__________________
100% standards compliant code is 100% correct 100% of the time.
one of my toys from my repository and perhaps some help getting help

Cd&
COBOLdinosaur is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:14 PM.


Advertisement
Log in to turn off these ads.