jwwceo Posted April 20, 2007 Share Posted April 20, 2007 So I am developing a series of e-commerce sites...they are all basically the same site, but each one is tailored to a different segment of a larger market. For example purposes only, say I was setting up a pet store...and I wanted to have one site specialized for dogs, one for cats, and one for birds, all different domains. But I am trying to have just one back-end system...so my employees can fill the orders from the same back-end order management. Is it possible to write some code in a single header file that would look for the URL requested and then pull up the right logo, maybe a different style sheet, image directory path, and the right products. But basically it would all be the same program and I could add new sites as I saw fit and make changes in one place that would affect all the sites. Thanks James Link to comment https://forums.phpfreaks.com/topic/47936-multiple-domainsone-set-of-codehow-would-this-work/ Share on other sites More sharing options...
HaLo2FrEeEk Posted April 20, 2007 Share Posted April 20, 2007 I think you can have multiple domains set up on the same webserver, or you could just put the header, and all the code in the root directory of one of your sites, and call it up from your other sites. Link to comment https://forums.phpfreaks.com/topic/47936-multiple-domainsone-set-of-codehow-would-this-work/#findComment-234281 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.