Hi Kevin,
Thanks for your help and looking into this… I was away for a few days and now back at this.
I can change a dns record to have like you said my www. refer to the domain without the www. or vice versa if the problem was the inverse - no doubt.
I guess I want to know why its not working, so I can better understand what EE is doing in the stack as you kinda eluded to us figuring out.
My basic instance before I added MSM into the mix, works fine with both www. or not using the www. to get at the output for my initial EE instance/site, here is a little test proving that:
http://provok.me/ee/index.php/news
or
http://www.provok.me/ee/index.php/news
I actually don’t see any htaccess files in any of my directories for EE or for virtual domains that are then setup via EE tutorial on setting up domains to point at same EE instance… HMMM. I wonder…
Trying to explain setup further…
My 2nd site is dev instance (MSM site) that has subdirectories setup, so I work on my client sites (3rd MSM site etc. and on) and present to clients here: clients.mywebdevconame.com/clientname which works, or if I went to http://www.mywebdevconame.com/clientname that will work as well…
So for the production client site, my 3rd site aka using MSM for an addon site… that has its own domain, this is where my www. and not having www. is getting stopped within EE as the index.php is by the error of this post title is getting picked up - so there isn’t an issue with my dns or my webserver, other than maybe how subdirectories throws a wrench into my index.php or something else in EE? I don’t know…
My client site index.php variables looks like this:
$system_path = '/var/www/vhosts/myinitialinstancedomain.me/httpdocs/ee/bobcat';
This works for all sites except my 3rd site in MSM and specifically we are just talking about the www. as the non www. routes fine to system
$assign_to_config['site_name'] = 'client_name_msminstance_live';
//$assign_to_config['cp_url'] = '';
$assign_to_config['site_url'] = 'http://clientsiteurl.com';
is this helping at all explain things?
😊
thanks, really want to get to know what it up or what I did to my instance to break this particular MSM site and its www. access
thanks,
David