|
|
Subject:
Different Versions of Site Based on Domain
Category: Computers > Programming Asked by: jessedee-ga List Price: $10.00 |
Posted:
08 Jan 2006 11:38 PST
Expires: 07 Feb 2006 11:38 PST Question ID: 430782 |
|
There is no answer at this time. |
|
Subject:
Re: Different Versions of Site Based on Domain
From: winista-ga on 10 Jan 2006 10:22 PST |
What is your target platform (OS, Web server, Web technology etc.)? |
Subject:
Re: Different Versions of Site Based on Domain
From: cruzinthegalaxie-ga on 16 Jan 2006 13:25 PST |
The concept that you are describing could be done statically or dynamically. Dynamically: I started writing a content management system that would do exactly what you are describing. It uses apache with mod_rewite + php + mysql. The origninal site was www.4devz.com, but I lost track of free time. I have a database table that saves the settings for each domain (so I can enable/disable a site). Then based on the domain name and settings for the default virtual template/page saved in the database I render it out to the browser. With mod_rewrite the files don't even have to exist on the server, they are all saved as chunks in a db table. So there is a record for the template with varibles in it that are then replaced with the correct content. Statically: You setup each one of the domain names in a virtual hosting environment and ftp the copy of each website into each appropreit domain folder. Webin+Virtualmin would let you do this for free. |
Subject:
Re: Different Versions of Site Based on Domain
From: kindageeky-ga on 23 Jan 2006 00:55 PST |
mod_rewrite is the ONLY simple option and requires apache, for IIS your will probably need to write an ISAPI filter, in the future IIS 7 is supposed to start supporting URL rewrite capabilities. |
Subject:
Re: Different Versions of Site Based on Domain
From: dreiden-ga on 27 Mar 2006 15:43 PST |
First of all, set up a primary domain to host the whole thing, then use domain forwarding & masking to point all the additional domains over to that one. Next have your website built dynamically through a database and considering that everything stays the same except the title and a few text components; use variables based on the domain name to show different text/ content depending on the domain used to reach the page. I had a website doing the exact same ting but it's offline now. If I find the pages I'll post it to show you what I mean. It's the a complicated matter it just takes a few days to work out all the bugs, you should have no problems finding someone to do it. Check www.bridallistings.com, www.torontobridallistings.com it's only 2 domains but essentially does what you're talking about. good luck, |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |