Multisite site showing default homepage

Events happening in the community are now at Drupal community events on www.drupal.org.
pezholio's picture

Hi,

I've been working happily on a multisite installation, and, half way through development, I realised the domain I was using was the wrong one, so I renamed my /sites/{site-name} to the correct domain name (something which I now realise I shouldn't have done!). I've now renamed the relevant folder and have the correct domain name as a symlink to the existing file. However, since I've done this, the homepage defaults to the homepage of the default site. Any ideas?

Comments

Bummer. If you haven't

Lakeside's picture

Bummer.

If you haven't created tons of content, I'd suggest reverting back to the original name, then installing a new site with the correct domain name and transfer over the content. It's often faster that chasing done those links in the DB.

If you have a lot of content you'll still need to revert to the original name, then export the DB it as if you were going to move the site. Create the new site and import the DB. It sounds like more work, but you won't end up with unexpected surprises.

Do the other pages, besides

davidhernandez's picture

Do the other pages, besides the home page, work correctly?

Hi folks, thanks for the

pezholio's picture

Hi folks, thanks for the replies.

After posting this, I tried a couple of other things without success. However, looking at the source of the homepage (where I was having probs), I noticed it was being cached by the Boost module (which is not enabled on the site I'm working on as it's still in development). I activated Boost, cleared the Boost cache and now the homepage works hunky dory! I guess the caches must've got mixed up somehow.

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: