Configuring Wikidot On A Subdomain

Wikidot Open Source can be configured to run on a subdomain (i.e www.myserver.mydomain.org), but you have to make sure your configuration files are edited properly.

This is based on Wikidot 1, Rev 278 and was tested on a VirtualBox virtual machine with Ubuntu Server 8.04 and Apache Web Server. I edited the configuration of a working Wikidot install on a top level domain name (mywikidot.com) and made it work on a myserver.mydomain.org configuration.

Here are the configuration changes I made. After making these edits, I restarted Apache Web Server and the site came right up!

Note: Click the images to see them in full resolution.

Make sure your server name is set up for subdomain.domain:

myserver_server_name.png

Your /etc/hosts file should look something like this (we're going to make this Wikidot install a .org site):

myserver_hosts.png

Make sure the domain= line in conf/wikidot.ini has the full server name plus .com, .org, .local, etc.:

myserver_wikidot_ini.png

Assuming all else is installed and configured properly, you should see this when you open your main Wikidot site:

myserver_home_page.png

This configuration should work on a local, private network or on a server exposed to the world wide web.

To find the Wikidot server on a local network you can add the server information to your local DNS server; or, if you only have a few client PCs that need to access the Wikidot server, you can edit the client PCs hosts file.
See:
Configuring The Hosts File On Linux Clients
Configuring The Hosts File On Windows Clients


Discuss This Article

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License