Moving Store Domain Name

We had a nightmare last week moving over our live domain name to our new websites IP. The test site is working fine but when the domain name moved over things stopped working.

Is there a best practice for doing this? We changed the store name but the DB still references the IP rather than the domain name and I'm thinking this could have caused the problem?

You only need to perform 3 steps:

- change http and https host in the config.local.php file

- change http and https host on the Administration -> Stores page in the admin panel

- clear var/cache directory manually

Please try

That's what we tried last time and all sorts of errors came up! I think it might have been our host making some mistakes with duplicate domain names assigned but just want to make sure we are doing it correctly before we try again

That's what we tried last time and all sorts of errors came up! I think it might have been our host making some mistakes with duplicate domain names assigned but just want to make sure we are doing it correctly before we try again

Make sure to check the cscart_companies table well, it is the same described as in step #2 by Ecomlabs. Furthermore, try clearing the cache by using ./your-admin-url.php?cc&ctpl.

Lastly, you should also check if you have a store prefix set in the config.local.php file. If you have multiple stores running redis it will definetely ruin some things when not set.

Try to create test.php file with the following code and check it in your browser

phpinfo();