Multi-sub-domain sites
|
|
By The Trinidad Kid , Section Project [] Posted on Sun Mar 31, 2002 at 12:00:00 PM PST
|
|
I wanted to amend Scoop so that I could use multiple sub-domains for my site and then change the behaviour of the site depending on what sub-domain you came in.
My site is called Scottish Political Discussion at domain name scottish.politicaldiscussion.org
I wanted to host multiple sites like American Political Discussion at domain name american.politicaldiscussion.org with the images etc changing depending on which sub-domain you came in on.
|
I thought, well I'll try and make it work with multiple sub-domains, and then do the image-stuff.
So I edit the httpd-conf to add another sub-domain pointing to the same code base/mysql database and ...it works, just like that, no code changes, nothing, multiple homing automatigically...
Easiest change ever, strike one meatball... |
|
Story Views
|
56 Scoop users have viewed this story.
|
|