If your Magento site is hosted with MDOQ managed Magento hosting and your Magento installation doesn't have a store with the code "default" or you want a store with a different code to be the default store. This guide will explain how.
When you first install Magento a "default" store is created. This store has the store code "default". If a request hits your Magento site for a URL that isn't configured, the user will be redirected to the url of this default store.
If you have deleted the "default" store, or you wish to use a different store as the "default" store.
- Open the Nginx settings for your production instance
- Change the Default Store Code to be the store code you want
- Save the configuration
- Synchronize Nginx for your production instance.