> Hi,
> Assuming domain1.com is your servername, thcan you check your configuration looks something like this:
> XWiki.XWikiServerXwiki - the "server" field points to xwiki.domain1.com (or www.domain1.com; although not required for www. it's best to be safe).
> XWiki.XWikiServerDomain2 - the "server" field points to [xwiki2].domain1.com where [xwiki2] is a identification of your second wiki (eg public.domain1.com)
> The above assumes you have a database called Domain2; and [xwiki2.domain1.com] points to domain1.com in your CNAME records.
>
> In other words, drop domain2.com altogether from thought
> ..if that makes sense.

Hmm, I tried this and it still doesn't work.

First, I created a CNAME, domain2.domain1.com -> domain1.com

Next, I created XWiki.XWikiServerXwiki, added XWiki.XWikiServerClass (note: in the dropdown, it shows view.XWiki.XWikiServerClass -- could that be the problem??), set the server to www.domain1.com and the owner to XWiki.admin.  Then I created XWiki.XWikiServerDomain2, added XWiki.XWikiServerClass , set the server to domain2.domain1.com and the owner to XWiki.admin.

Then I visit www.domain1.com, it's fine.  When I visit domain2.domain1.com, it redirects me to the no such wiki page.

Thanks for all your help: The good news is that I'm learning more about XWiki and that hopefully some of this will be helpful to the next person who tries.