In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"
tell application "iWeb" to activate
You can download an already compiled version with this link: iWeb Switch Domain.
Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder. So rename your domain files once they've been created to something other than the default name.
Dear, good Old Toad,
What would we all do without you? This is helpful to be sure, but my problems all seemed to start when I began using iWeb Switch Domain. Other odd things are happening, too. A couple of my album pages suddenly became invisible to me, although I could see all the photo pages associated with them. And everything published ok and could be seen online. Then suddenly I couldn't open any domain file at all with iWeb or IWeb Switch Domain.
Finally, I went back a ways on Time Machine and restored iWeb to my desktop, thinking that the application itself might have become corrupted, and used it to open one domain, and I've been laying low since then.
I did start painstakingly rebuilding one of the blank albums pages only to discover that the content of one of its photo pages had vanished. When I rebuilt it, the albums page magically reappeared.
I find all this very disturbing in light of the fact that MobileMe is going away (I already have a new web host, so that's not an issue.) and there will also be no support for iWeb in future. I'm worried that it will become unstable - has it already? - under some new OS version and I'll be SOL, along with a lot of other people.