Where/How Does iWeb Store Its Site Data?

The data for an iWeb site is kept here:

Users/username/Library/Application Support/iWeb/Domain

Note that "Users/username" is equivalent to "Home". "Domain" will appear as "Domain.sites" if extensions are shown.

If you delete any page inside iWeb, its data will be lost and there will be no way for you to update or republish it. iWeb cannot open or import a published page or site.

There is no way for iWeb to work on a site without the Domain file that created it. So it is wise to backup this file frequently in case it gets lost or corrupted. The Backup program that comes with .Mac includes a QuickPick to do this.

Working on a site from another machine also requires that the Domain file that created the site be installed in the second machine.

You can keep sites on different Domain files and switch them in and out of iWeb. But they must always have the name Domain when in use, so it is up to the user to decide how to keep them distinct when in storage.

One easy way to keep sites and their Domain files separate is to work on them from separate user accounts on you machine. That way the Domain file for each site is in the Home folder for the account used to work on it.

iWeb update 1.1 makes it easier to manage Domain files:

http://docs.info.apple.com/article.html?artnum=303670

If you have two sites on one Domain file, you can separate them by making a copy of this file, then deleting one site from the Domain file in use, saving, removing that Domain file, putting the copy in, deleting the other site, and saving. There is no way to merge two sites on different Domain files.

Domain files are actually packages. You can see the contents by doing Control + Click on the icon and choosing Show Package Contents.