This is similar to the A record redirection question below but a little more involved. I apologize ahead of time for the length of this post and hope it is somewhat clear.
==============================
I have an web application that provides my client’s marketing partners to build customizable shopping carts tied to promotion codes. Basically, a marketing partner will have anywhere from 1 to 100 promotion codes.
They can then build a cart profile that determines which products, their price, the order that they appear, and any discounts. The cart profile is then applied to 1 or more promotion codes.
Once the promotion code has a cart profile activated is must become available on the web. There are three ways this will occur.
1) A sub-folder on our domain in the form.. “ourshophost.ourdomainname.com/promocode”
2) A CName from the partner in the form “promocode.partnerdomain.com” that they point at our server.
3) The same CName in two but a folder promotion code at the end of their domain as in “cnamehost.partnerdomain.com/promocode” – for partners who do not want several host names pointing at our server.
Based on the promocode host defined or the folder on either their Cname’d domain or our domain, we will determine which shop profile to use and display the necessary items.
All the program logic will be located on a shared virtual folder system.
What is the best way for me to perform this? The application files will not be replicated to partners folder but a default application file “default.asp” could be. It would simply include the necessary business logic file.
However, I want this to be as simple to manage and maintain as possible.
Also, the domain and folder first used when a visitor hits the site, must be maintained. Meaning, if they come to the site from “ourshophost.ourdomainame.com/promocode” – that is the domain subfolder that they stay on the entire time of their visit. If the come into “promocode.partnerdomain.com” – they must stay on that site.
If you know of any articles I can look at that discuss this type of setup, please let me know.
Thanks,
Matthew Moran
Read my career blog at: Career Blog: Todo esta bien.. Todo esta divertido (it's all good, it's all fun)
==============================
I have an web application that provides my client’s marketing partners to build customizable shopping carts tied to promotion codes. Basically, a marketing partner will have anywhere from 1 to 100 promotion codes.
They can then build a cart profile that determines which products, their price, the order that they appear, and any discounts. The cart profile is then applied to 1 or more promotion codes.
Once the promotion code has a cart profile activated is must become available on the web. There are three ways this will occur.
1) A sub-folder on our domain in the form.. “ourshophost.ourdomainname.com/promocode”
2) A CName from the partner in the form “promocode.partnerdomain.com” that they point at our server.
3) The same CName in two but a folder promotion code at the end of their domain as in “cnamehost.partnerdomain.com/promocode” – for partners who do not want several host names pointing at our server.
Based on the promocode host defined or the folder on either their Cname’d domain or our domain, we will determine which shop profile to use and display the necessary items.
All the program logic will be located on a shared virtual folder system.
What is the best way for me to perform this? The application files will not be replicated to partners folder but a default application file “default.asp” could be. It would simply include the necessary business logic file.
However, I want this to be as simple to manage and maintain as possible.
Also, the domain and folder first used when a visitor hits the site, must be maintained. Meaning, if they come to the site from “ourshophost.ourdomainame.com/promocode” – that is the domain subfolder that they stay on the entire time of their visit. If the come into “promocode.partnerdomain.com” – they must stay on that site.
If you know of any articles I can look at that discuss this type of setup, please let me know.
Thanks,
Matthew Moran
Read my career blog at: Career Blog: Todo esta bien.. Todo esta divertido (it's all good, it's all fun)