Configure Multiple Web store on (Beta)

 Configure Multiple Web store.

call record for the issue:-

https://web.microsoftstream.com/video/8c7e57cd-2811-419d-8ed6-c95313da18a0

more :

https://help.sana-commerce.com/sana-commerce-93/how_tos/multiple_domains_and_websites/configure_multiple_websites

--------------------------------------------------------------------------------------------------------

This will help you to configure a new webshop on the existing project.

for this example, I will use championpower project.

//need to have the following details shared by the Customer/Project Lead,

To Configure the webshop basically, we need the following details.

1. Website Id, 2. Web site Name, 3.Domain(URL). 

if  Project Lead request to create a domain URL as a placeholder like normal sana store domains,

Follow these steps.   

1 Create a new beta URL with the current beta URL,(If new URL not provided)

current webshop URL: https://championpower-beta.sanastores.net/

new webshop URL: https://championpower-ca-beta.sanastores.net/


* updated  license before running the script else current webshop also will get an error (regarding license)  section 4


2. If you create a new webshop URL you need to map it on the server.

* Create an Azure DevOps ticket and request to map the new URL to the server.

Ticket as following, 

https://sanacommerce.visualstudio.com/Sana%20Hosting/_workitems/edit/76731

Ravensburg AG shop: https://sanacommerce.visualstudio.com/Sana%20Hosting/_workitems/edit/106763

Ravensburg [FR] shop:https://sanacommerce.visualstudio.com/Sana%20Hosting/_workitems/edit/115431

Divercy CZ:  https://sanacommerce.visualstudio.com/Sana%20Hosting/_workitems/edit/108398

Please create a URL as following and map that URL to (your Projects server) 

URL: https://championpower-ca-beta.sanastores.net/

server IP: 40.118.191.64 can find from the Start site password section

https://start.intranet.sana-commerce.com/Pages/Project/PasswordList.aspx


* for some Projects Beta DNS Map need to be done by the Customer side,

eg Diversey, 

 [Diversey] Additional store Czech Republic /Sent: Wednesday, April 7, 2021 12:03 PM

Hi Angelique, 

Thanks for the information,

It seems the beta URL (test-eshopcz.diversey.com) is not mapped with server,

could you please map the DNS of web shop URL to server IP: 104.211.44.132.

 ----------------------------------------------------------------------


Verify whether url pointed to our server


3. Request new Licence for webshop

Go to Sana community and navigate to the License page: 

https://community.sana-commerce.com/MySana/Licensepage.aspx

search the project and open the latest License in a separate tab. (last updated License )

create a new license and copy all the details from the last updated License.

update the Amount of webstores 

 Webstore domains sections:  add new beta and live URLs 

eg: 

old license Amount of webstores: 1

new  license Amount of webstores: 2

 


* Check the newly created license details with senior team members.
* After license creation need to get approval from the Project Manager

* After approving the license, go to Beta RDP ,keep a backup of the current license, and replace it with the new license.

* * Add to Task service folder also.

* Make sure the beta site is Still working without any issue.

some projects create separate licenses for Live and beta.

double-check the comma-separated when add to web store domains.

after approval double-checks the license file open by right click and edit. all URLs are currently separated.


4. * If the license is updated only run the script else current webshop also will get an error (regarding license) 



5 Run the script

NewWebsiteID: SanaStoreCA

New Website Name: SanaStoreCA

Domainhttps://championpower-ca-beta.sanastores.net/


6. Go to IIS> Bind the new URL to the Beta site

after the refresh app pool you will see the newly created web store on the dev/beta admin section.

open the new site link, it should open.



if you do not bind the URLs yet, you will get this error



add existing SSL certificate to Https bindings..


if the certificate not installed correctly, it will show as following 





7. Update ERP connections details.

when you try to run indexes if getting any errors from ERP then need to check the test connection.


8. Check new Webshop name has been configured from the ERP side. by run Test connection.

else inform to customer. 

mail : RE: [Ravensburger] CH new shop not been configured from the ERP side.

eg:

Hi XXXX, 

We have successfully created a new beta shop (SanaStoreCA). It seems the new webshop has not been configured from the ERP side.

Can you please check on this issue. 


Maintanese mode is activate: issue from ERP side 


some times when u trys to run idexes its not loaded 

to solve stop and restart the task service


 



-----------------------------------------------------------------------------------------