ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM Showing Default Site Instead of New Site

May 18, 2012 4:28pm

Subscribe [3]
  • #1 / May 18, 2012 4:28pm

    grovberg

    50 posts

    In addition to the default site, my EE installation has had two other MSM sites for quite some time now that continue to work just fine. Today I went to create a third, without importing or duplicating any data or preferences. I added my directory, copied in index.php and admin.php, edited them as directed, set up a template group with a test template, and tried to preview my site to confirm everything is working. Well instead of my test template, I see the front page of the default website. In fact, any time I put in a valid url for my new site, the default website’s homepage comes up. Yet the other two MSM sites continue to work just fine.

    I know I’m not giving you guys much to work with, but can you think of any mis-configuration that might cause this behavior? The fact that a valid URL gives me the homepage while typos give me errors makes me think it’s a configuration issue, but I’ve been trying to figure it out all afternoon and just can’t come up with anything. Any suggestions appreciated.

  • #2 / May 18, 2012 5:24pm

    Boyink!

    5011 posts

    What you are seeing is default 404 behavior - which makes me wonder if there are any htaccess rules in place?  Are you removing index.php?

  • #3 / May 18, 2012 11:35pm

    grovberg

    50 posts

    Thanks very much for taking the time to respond.

    I considered the default 404 behavior and attempted to rule it out by setting each site to use a different 404 page in Global Template Preferences. I’m not getting the 404 page for either site, but instead the default template for the default site. Anything I’m missing?

    We are using mod_rewrite to clean up our URLS, but we’re 99% certain these are not the issue. There’s nothing there that’s part of this site specifically (hand’t got to it yet), and anything with broader effects would have to affect the other two secondary sites, which both still work at their native URLs.

  • #4 / May 19, 2012 7:14am

    Boyink!

    5011 posts

    Got me here then - if it were me I’d see about ruling that last 1% of certainty around the .htaccess file. 

    I’d also turn on the output profiler to see if that would provide any clues.

  • #5 / May 21, 2012 12:37pm

    Shane Eckert

    7174 posts

    Hello grovberg,

    For testing purposes, can you please disable your .htaccess file? ExpressionEngine is so dynamic in nature and relies heavily on the URL, so anything that is changing even the smalles part of that, we like to rule out as a first step in support.

    Please let me know the results and we can go from there!

    Thank you,

  • #6 / May 25, 2012 1:00pm

    grovberg

    50 posts

    Thanks for the attempts to help. Turns out that a typo in my index.php had cause the MSM section to be effectively commented out. Kind of embarrassing.

    FWIW, I didn’t get a notification that Shane had posted, or I would have gotten back to you earlier. Sorry about that.

  • #7 / May 25, 2012 4:54pm

    Shane Eckert

    7174 posts

    Hey grovberg,

    No worries!

    Glad that things are working now.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases