-
Sub-Domains on nginx
G'day all,
Just got the vaultwiki installed and am very impressed so far. Installation was very easy, it picked up my theme no probs, now I just need some content!
I'm running the nginx web server, and am wondering if you have any experience in setting this up for a vaultwiki domain?
Ideally I'd like to run the wiki at http://www.wiki.greenandgoldrugby.com/ , or otherwise at http://www.greenandgoldrugby.com/wiki
If you've not come across nginx before then I can try and work this one out myself, I've gotta get it working for the forum first regardless.
Cheers for any advice you can give,
Moses.
-
We have not tried this particularly on nginx before, but typically for sub-domains it has to point to the same file system as the domain vBulletin is on. Using a redirect will not work, it has to be a CNAME or whatever your host / DNS combination calls it. I have also seen symlinks work. Once the sub-domain points to the same content you can add a plugin to check if THIS_SCRIPT == 'showwiki' else 301 redirect to the main domain.
-
Thanks pegasus, I've got a bit more to learn about nginx (still gotta get the forums working). If I get it going I'll post the config here