Using a seperate domin and subdomain
Posted: Sun Apr 30, 2006 11:07 am
I have a domain registered and also some sub-domains under it...
When someone visits my site and then begins viewing the subdomain...is it possible to keep the uaer at the subdomain, but if someone finds the sub-domain via a seperate domain, that the seperate domain is used, instead of the sub-domain?
http://www.domain1.com <- first visit
http://www.sub.domain1.com <- Find this page through first request
http://www.sub.domain1.com/articles1/ <-Subsequent requests stay under sub-domain
http://www.sub.domain1.com/articles2/
http://www.sub.domain1.com/articles3/
http://www.sub.domain1.com/articles4/
http://www.domain2.com <- first visit
http://www.domain2.com <- Find this page through first request
http://www.domain2.com/articles1/ <-Subsequent requests stay under sub-domain
http://www.domain2.com/articles2/
http://www.domain2.com/articles3/
http://www.domain2.com/articles4/
See what I mean? Now it is possible that using domain2 would bring them to domain1 and if they navigated back to domain2, they would have to use
http://www.sub.domain1.com instead of domain2.com
Is this even logical or can I just map domains to sub-domains in which case every time someone visits the sub-domain, regradless of how they got there, they alwasy see the domain2.com???
Cheers
When someone visits my site and then begins viewing the subdomain...is it possible to keep the uaer at the subdomain, but if someone finds the sub-domain via a seperate domain, that the seperate domain is used, instead of the sub-domain?
http://www.domain1.com <- first visit
http://www.sub.domain1.com <- Find this page through first request
http://www.sub.domain1.com/articles1/ <-Subsequent requests stay under sub-domain
http://www.sub.domain1.com/articles2/
http://www.sub.domain1.com/articles3/
http://www.sub.domain1.com/articles4/
http://www.domain2.com <- first visit
http://www.domain2.com <- Find this page through first request
http://www.domain2.com/articles1/ <-Subsequent requests stay under sub-domain
http://www.domain2.com/articles2/
http://www.domain2.com/articles3/
http://www.domain2.com/articles4/
See what I mean? Now it is possible that using domain2 would bring them to domain1 and if they navigated back to domain2, they would have to use
http://www.sub.domain1.com instead of domain2.com
Is this even logical or can I just map domains to sub-domains in which case every time someone visits the sub-domain, regradless of how they got there, they alwasy see the domain2.com???
Cheers