Setting up _one_ Site with different subdomains for each node...

Author Message

Sebastian Picklum

Tuesday 01 February 2005 4:48:29 am

Hello!!!

Couldn't find anything about it in the docs, so I'm asking the community:
Is it possible to set up a site an assigning a subdomain to the different nodes?
It's hard to explain, so I'm trying to give an example:
www -> content/view/2 and child nodes
community -> content/view/3 and child nodes
gallery -> content/view/4 and child nodes

Mapping external URLs to the nodes is no problem, but how can I get eZpublish to use the correct URLs in the generated pages? EZROOT would map generate everything with www.

Thanks a lot

Sebastian

sp@php.net

Balazs Halasy

Tuesday 01 February 2005 5:12:22 am

Hi,

Set up different siteaccesses where each siteaccess uses a different indexpage / root node.

www.example.com     -> uses siteaccess "example" where index page is node 13
gallery.example.com -> uses siteaccess "gallery" where index page is node 14
etc.

Allman

Sebastian Picklum

Thursday 03 February 2005 2:15:26 am

Thanks a lot! That did the trick!

:-) Sebastian

sp@php.net

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 00:29:26
Script start
Timing: Jan 20 2025 00:29:26
Module start 'layout'
Timing: Jan 20 2025 00:29:26
Module start 'content'
Timing: Jan 20 2025 00:29:27
Module end 'content'
Timing: Jan 20 2025 00:29:27
Script end

Main resources:

Total runtime0.9301 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 590.7734152.6875
Module start 'layout' 0.00510.0025 743.460939.5234
Module start 'content' 0.00770.9208 782.9844532.0859
Module end 'content' 0.92850.0016 1,315.07038.0781
Script end 0.9301  1,323.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3401160.0002
Check MTime0.00120.1334160.0001
Mysql Total
Database connection0.00070.073910.0007
Mysqli_queries0.880194.6231570.0154
Looping result0.00060.0601550.0000
Template Total0.892596.020.4462
Template load0.00240.254120.0012
Template processing0.890195.699220.4451
Template load and register function0.00010.014810.0001
states
state_id_array0.00220.231610.0022
state_identifier_array0.00190.199020.0009
Override
Cache load0.00200.2105220.0001
Sytem overhead
Fetch class attribute can translate value0.00050.058720.0003
Fetch class attribute name0.00110.115440.0003
XML
Image XML parsing0.00240.253720.0012
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00350.3750160.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs