Thread:Project:Forum/Use same database for two different domains

I have my own server and I host my own websites. I want to set up two Wikis with different domain names, however I want them to use the same database. Can this be done and if so, can you tell me here or where to find clear, concise information on how to set it up?