Message No Storefronts Defined For This Domain

Hello, Im trying to upgrade an old store that is on 2.x.x to 4.2.3 so I made a new install in a subdomain like this:

Everything went fine, I can go into admin area.

Problem is I see a blank page going to the storefront…

I checked here and made sure under mysql table company that the storefront is good, then I enabled php error logging and saw this:


No storefronts defined for this domain

Error at

app/functions/fn.init.php, line: 959


File: init.php Line: 131 Function: fn_init File: index.php Line: 24 Function: require

Not sure what to do now (

Anyone can help me please ?


I installed 4.2.3 this morning and didn't have any issues so I am guessing you have something not configured correctly like the store URL.?

Yes, the store url is good, thats why I dont understand the issue…

What do you mean it is good? Make sure that they are correct in the store manager and in /config.local.php.

In my config.local.php

// Host and directory where software is installed on no-secure server

$config['http_host'] = '';

$config['http_path'] = '/cscart423';

// Host and directory where software is installed on secure server

$config['https_host'] = '';

$config['https_path'] = '/cscart423';

Store Manager:

Secure URL:

Since my install is in:

I think these are all right ?

In my experience, if main store is in sub folder them newly added stores won't work.

Ok, but I have my working store in root but new install/mysql in sub folder… allpaths are good but still display page not found with error mentionned…

I set mine up as a sub-domain instead of a sub-folder/directory. Not sure if that is your issue though.