// Host and directory where software is installed on no-secure server $config['http_host'] = 'domain.com'; $config['http_path'] = ''; // write if path exist
// Host and directory where software is installed on secure server $config['https_host'] = 'domain.com'; $config['https_path'] = ''; // write if path exist
Can you access admin? If so, you need to change the url in the company info. If not, you will need to edit the url in the companies table in the database.
Something like this:
UPDATE `cscart_companies` SET `url` = 'www.your_domain.com',
`storefront` = 'www.your_domain.com',
`secure_storefront` = 'www.your_domain.com' WHERE `cscart_companies`.`company_id` =1;
No I cant access the admin, so what I did is changed back the config to old domain to access and changed the domain in the company info, which is now on the upper left of admin and its still not working.
Could it be the license with cs-cart? because they changed the license in domain but I dint not try so that my site doesnt go down.
I am trying to change it with a temporary domain I pointed to the installation.
Does it have to do with Cpanel where I should add the domain?
Take a look at this DNS report and let us know if the information is correct. https://intodns.com/lebko.com If it is, then yes cPanel needs to know the domain and the IP assigned to it.
The hosting account primary domain is www.yabli.com, so in CPANEL initial configuration, there is no need to add a domain.
My thoughts are: now that I am changing the domain lebko.com of my cs-cart installation, although it is pointed correctly to the hosting server, maybe I should add it to the list of domains in my hosting account as addon domain or something else.
The domain and hosting are TWO different providers.
Also, as I learned, I should not change the primary domain of the hosting, it could mess up.
If I understand you correctly, what I would do is use WHM and create another cPanel account for your new domain and then copy your files and database to that account.
Take a look at this DNS report and let us know if the information is correct. https://intodns.com/lebko.com
If it is, then yes cPanel needs to know the domain and the IP assigned to it.
Hi Yes,
The report indicates that the A record is pointed to the correct server IP.
As you said, Cpanel doesn't know anything related to lebko.com, so its probably that I have to add somewhere, I dont know where exactly. Usually, when i want to add more domains to my hosting account, I add them as addon domain, and then install a specific application on selected domain.
Important: I just checked my other cs-cart Ultimate and realized that the domains I use for multiple store appear in addon domain /public_html.
I could add lebko.com as addon domain, but afraid it will mess up everything.
Okay, you threw me off saying that the old domain was your hostname but looking at the DNS report again, it looks like you're on a shared account and your old domain is the cPanel account. If that is the case then yes, your only option is to add the new domain as an addon domain. After you do this then you will need to copy the files to the new domain directory.
Okay, you threw me off saying that the old domain was your hostname but looking at the DNS report again, it looks like you're on a shared account and your old domain is the cPanel account. If that is the case then yes, your only option is to add the new domain as an addon domain. After you do this then you will need to copy the files to the new domain directory.
Ok, that is complicated for me.
I am currently importing/Exporting products and categories to cs-cart MV.
Once I finish adding all products, I will need to migrate over night from one url to another, do you do such work?
I can but it's really not that difficult. Add the domain via addon domain in cPanel and it will create the directory for you. Then just copy the files from old domain directory to new domain directory.