Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

so I am currently setting up a MediaWiki server (I am still not sure whether I should go for MediaWiki or DokuWiki though), but if I go for MediaWiki - is it possible to setup some kind of multi MediaWiki?
Same installation on multiple subdomains.

I would like a main domain which could be For every product/category I would like it's own subdomain. Is it possible to use the same MediaWiki installation and then have,, etc.

Kind of like how wikia works now, I just want my domain/server.

share|improve this question

migrated from Aug 26 '13 at 17:41

This question came from our site for power users of web applications.

This question is already answered on the following page with detailed instructions: –  sahwar Oct 3 '14 at 18:59

2 Answers 2

It's definitely possible, I'm doing this with

You need to know enough PHP to make sure that a different database is served to different (sub)domains. I started factoring out things from LocalSettings.php and I'm keeping an area with domains and settings.

(If I find some time I'll factor out some of the code and open it up. I'll update this answer if I get there.)

share|improve this answer

Yes it is possible.

An easier alternative is to simply install MediaWiki for each subdomain or folder. They would all have separate databases and duplicate source codes, but you could configure MediaWiki to have each of the instances of MediaWiki rely on common resources, like where the images are stored.

See here for more information.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.