mohmedsh
asked on
Multi domains dbase driven website
Hi
I am looking forward the best soluation for my situation. I have multiple websites that do the same function and use the same code. the only differance is that each site uses a different domain , uses different design and displays the data according to the site category. I am not clear so lets try again.
I am working with a business marketplace. B2B websites. The main site displays categories for the whole business. I have another sites that repersents specific catgories like furnture, agriculture and so on. Some thing like http://www.worldbidpartners.com/ idea.
I am looking for the best way to design all the sites to use the same code and dbase. I do not know the idea for such soluation so please advise me the best way to do it.
Thanks
I am looking forward the best soluation for my situation. I have multiple websites that do the same function and use the same code. the only differance is that each site uses a different domain , uses different design and displays the data according to the site category. I am not clear so lets try again.
I am working with a business marketplace. B2B websites. The main site displays categories for the whole business. I have another sites that repersents specific catgories like furnture, agriculture and so on. Some thing like http://www.worldbidpartners.com/ idea.
I am looking for the best way to design all the sites to use the same code and dbase. I do not know the idea for such soluation so please advise me the best way to do it.
Thanks
ASKER
I wish it was so simple. There is no problem with the dbase design as i have categories that is related to each industry. The problem is within layout and design of each site. I mean what will be the best soluation to represend each domain with its different layout. also i think i have to use Request.ServerVariables("H TTP_HOST") to know which domain i am going to use but if we consider about 20 domains with different designs and categories, I think it will be complicated so i wish to deside the best soluation to work with.
ASKER
sorry i mean using request.servervariables("S ERVER_NAME ")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks GoofyDawg for your answer, I am so sorry to be late in reply but i had been thinking on migration the whole application to 3-tier architecture using stored procedures with asp.net.
I will close this post and start a new one. please check it. https://www.experts-exchange.com/questions/21171873/3-tier-architecture-asp-net-Multi-domains-dbase-driven-website.html
I will close this post and start a new one. please check it. https://www.experts-exchange.com/questions/21171873/3-tier-architecture-asp-net-Multi-domains-dbase-driven-website.html
Then you just have to modify the SQL query in each site in order to display only the items that have a specific check box checked, all the rest of the code should be unchanged.