Skip navigation

Domain.sites2 will not open after Lion install

2063 Views 17 Replies Latest reply: Oct 15, 2013 10:44 AM by Old Toad RSS
1 2 Previous Next
chphoto Calculating status...
Currently Being Moderated
Jan 29, 2012 2:00 PM

After installing Lion and performing all of the updates and upon clicking on our Domain.sites2 file, iWeb opens with the original "create a new website" screen and it won't load the actual Domain.sites2 file.


I've tried following other threads of running disk utlilites, deleting the app, removing .plist files and performing a reinstall with updates and to avail no luck!


After looking at the [ - library/application support path ] it seems that the iWeb folder is no longer present.  Even after adding a iWeb folder manually and inserting the original Domain.sites.2 file, it still won't work.


Does anyone have a "solid" fix for this?



iMac (27-inch Mid 2011), Mac OS X (10.7.2)
  • WALTER-MILANO-ITALY Level 4 Level 4 (2,175 points)
    Currently Being Moderated
    Jan 29, 2012 2:13 PM (in response to chphoto)

    Areyou sure the Domain.files2 is really the file yuou had worked on before or was created for some reason by the new installtion of iWeb ?

    Which Date and Time and Dimension does it have ?

    Do you have a safe copy of your previous Domain.files2 somewere else ?

  • Old Toad Level 10 Level 10 (113,315 points)
    Currently Being Moderated
    Jan 29, 2012 2:13 PM (in response to chphoto)

    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.


    For opening 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 iWebDefaultsDocumentPath -boolean no"

    delay 1

    tell application "iWeb" to activate


    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.


    You can download an already compiled version with this link: iWeb Switch Domain.


    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.



  • toctocm Calculating status...
    Currently Being Moderated
    Jan 30, 2012 8:14 AM (in response to Old Toad)

    I do think also you are send by GODS !!!

    I have 14 domains that I can now manage...I was much stressed by the fact that non was working


  • Didier Dochain Calculating status...
    Currently Being Moderated
    Jan 30, 2012 9:28 AM (in response to Old Toad)

    Thanks a lot Old Toad for your extremely useful tips!


    I have two additional questions though:


    1) What should be the script to "reverse" the behaviour of iWeb back to the original one please?


    2) If you don't have the "domain" file anymore, is there any possibility to "re-load" a site into iWeb from its html pages (the ones actually published on the web)?


    Many thanks in advance for your assistance


    By the way, anybody having the answer(s) may come forward of course.

  • WALTER-MILANO-ITALY Level 4 Level 4 (2,175 points)

    TO POINT 2.


    I believe it will be impossible to rebuild a local domain file from the actual published website.

  • Wyodor Level 6 Level 6 (19,335 points)

    You don't have to believe. It's an actual fact that you cannot import HTML Pages.


    It's asked and answered extensively in this forum.


    And speaking about a deity, iWebSites have been around for years to open, create, delete and merge domain files. Thank Mister Gregg for that instead of a frog.


  • Old Toad Level 10 Level 10 (113,315 points)
    Currently Being Moderated
    Jan 30, 2012 10:09 AM (in response to Didier Dochain)

    You can't reverse the preference file.  With the advent of Lion and the non support of iWeb the script is needed so that files other than those named Domain.sites2 can be opened.  The preference file remembers the last file opened and will direct iWeb to that file.


    There's an application designed to help you maintain multiple domain files,  Web Site Maestro. What it does is change the name of the selected default file to domain.sites so iWeb can open it.  When you select another file with WSM it changes the name of the current default file back to what you named it and changes the newly selected file to domain.sites2. 


    With the script it clears the preference file so that you can open any selected domain file regardless of its name.

  • Old Toad Level 10 Level 10 (113,315 points)
    Currently Being Moderated
    Jan 30, 2012 10:27 AM (in response to Old Toad)

    The application I mentioned in my last post should have beeb iWebSites, the one Wyodor mentioned. 

  • Didier Dochain Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jan 30, 2012 11:40 AM (in response to Old Toad)

    Many thanks for all these additional explanations


    Very helpful indeed.


    And, if I understood you correctly, the alternative to the script is the use of this last software; both giving the same possibility to "deal" with several websites at the same time with iWeb ... assuming that you still have the "domain" file. Without it, no way out with iWeb at least.

  • Old Toad Level 10 Level 10 (113,315 points)
    Currently Being Moderated
    Jan 30, 2012 5:48 PM (in response to Wyodor)

    Now aren't you a bitter one.  That's really sad, not knowing a frog from a toad.

  • Grigger Calculating status...
    Currently Being Moderated
    Mar 30, 2012 12:21 PM (in response to Old Toad)



    I cut and pasted the script, saved as an application, ran the application.  Seemed to be working.


    ...but when I ran the application, the Try Mobile Me popup came up as usual, I hit "No Thanks", and then iWeb briefly opened then closed.  Tried it twice, and used the already compiled version too with the same result.  Any suggestions?


    Thanks so much,


    PS. running OSX 10.7.2

  • Old Toad Level 10 Level 10 (113,315 points)
    Currently Being Moderated
    Mar 30, 2012 5:21 PM (in response to Grigger)

    Do you have a MobileMe account?  If you do try this:


    1. go to the System/MobileMe preference pane and log out of MMe.
    2. login with a bogus username and password like "Ying" and "Yang". This clears the caches.
    3. login with your correct username and password.
    4. launch iWeb and try again.


    If that doesn't work or you don't have a  MMe account  tere's a edit to the iWeb preference file that will stop that message which was posted a while back:


    Go to your Library / Preferences

    Open and set the value of dismissDotMacUpsellWindow to true (checkbox checked)

    You can do that with TextWrangler and look for dismissDotMacUpsellWindow in the file.  If it's not there then add the following to the list of keys:




    There are other apps that can open a preference file and add a new key. One is PrefSetter.  Try double clicking on the preference and see what apps opens by default is any

  • juliefarr Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 15, 2013 9:55 AM (in response to chphoto)

    Thank you! I am running Mountain Lion (10.8.5) and was not able to use the complied version of I Web Switch Domain but I followed your instructions and created an app and it works like a charm. So silly of Apple to remove this - no one wants all of their sites in one big database - and really miss the fact that iWeb is not being continued.

1 2 Previous Next


More Like This

  • Retrieving data ...

Bookmarked By (2)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.