This is a virtual hosted server running Windows Server 2008 and IIS.
I am pleased to say that we have been able to install WordPress 3 as mutli-site with subdomain settings. Even through the posts all said no to IIS, no to windows and no to subdomains, we seem to have found a working system here.
So we will setup all our company blogs and sites to see if the setup stands up to some pressure. Yes this is a clean install, but we are goign to import some posts from the old sites.
In brief, this is the setup we used. I look forwarad to any comments or suggestions.
Created a brand new directory and copied in a clean WordPress 3 file set.
Started the root website and installed the database (after defining the database and database user in Mysql)
Used notepad with admin rights on the server to edit wp-config.php.
Created a comment /* JD added here */�
just above /* That’s all, stop editing! Happy blogging. */
This is where all my changes will be inserted.
First added
define(‘WP_ALLOW_MULTISITE’, true);
Save the file but keep this notepad open, it will be needed again
Logout and login again.
Under the tool menu a new section called network should appear.
Fill in this section and contary to previous posts we were brave and set to subdomains.
Now make the further changes to the wp-config file that are shown (hope you kept it open!)
Also you can add in the line before
define('COOKIE_DOMAIN', false);
Disregard the .htaccess this is more a linux thing
Logout and loing again.
Check the links, the pages, comment etc they should all work fine.
Now it is time to add your first additional domain.
Dont worry about the site address we will be changing it.
When you have added the domain you need to edit it.
The site_info Domain,
the site url
the home page
all need to be set as http://thedomainname.com
But you also need to change the permalinks. I suggest
/index.php/%year%/%monthnum%/%postname%/
check all the comments and pages, they should be fixed by this.
but the main issue here is we have the index.php at the start so that wordpress will pick up the request. So you can change this later as long as the index.php remains.
the cookie update was to allow the admin-login to work.
On the IIS side, all the domains are mapped to the blog root.
DNS entries are to the IP address of the web server and cname is used to map the www.domanname.comto the domainname.com
Yes I have not adressed the upload file issue witch needs a tweak
Now I have a week of worry taht this will all fall over… but maybe it will not.
i am looking for a good domain mapping plugin to allow soem domain alias.
And for the record, on the first night I made little progress and the second night after it all came together and I had documented 5 clean installs.
I would like to thanks the many posts from vague google searches that gave me the clues to pull this together, when I work out who they were, I will aknowledge them.
Next week I do intend to upgrade my customer blogs on a separate isntall from my company sites. So that will be the final test!