Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

Parked Domain Routing

Parked Domain Routing

Stephen - I have two URL going to the same server.

SpeedwayEntertainmentGroup.com is the root, SpringportMotorSpeedway.com is the parked URL.

They way my server handles this in a nutshell, a parked domain is a "ServerAlias" line in the apache VirtualHost config for that site, so that the website is served with the alias instead of the ServerName.

i.e. addondomain.maindomain.com would be the ServerName, while www.addondomain.com is the ServerAlias.

So..  I have set my site up so I have an SEG section and categories which relate specifically to it..  and I have an SMS section and categories which relate specifically to it..   We also have a GEN section which includes items which both SEG and SMS might use.

When a visitor comes to our site using SpeedwayEntertainmentGroup.com, they are served the SEG.com/index.php page..  which is the default Front Page for Joomla.  They get the Blue Template version of our template. 

If a person types SpringportMotorSpeedway.com into the browser, they also get the same index.php page, but it says sms.com/index.php rather then seg.com/index.php

What I wanted to have happen is, when a person typed in SpringportMotorSpeedway.com into the browser, that they would get the Red Template version of our template and be delivered to http://www.springportmotorspeedway.com/ … edway.html

That is only kind of happening right now..   as you can see if you visit the above URL's

Edited By: pmcnamara
01-Nov-11 03:41:17

pmcnamara
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Parked Domain Routing

Hi pmcnamara,

sorry it's taken a few days to get back to you on this... can you please confirm if you're still having a problem with this?

It doesn't appear that the template switching is taking place. That should be the easiest part of it - just make your first rule detect the relevant domain, and set the template using the succeed action. It looks like you've successfully removed some menu items on the SEG site, and the default page is different for both, so I guess most of it is working now?

Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3314 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1685
Total Polls:
6
Total Posts:
5912
Total Posts Today:
4
User Info:
 
Total Users:
11510
Newest User:
david5871
Members Online:
1
Guests Online:
186

Online: 
david5871

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked