Configure Multiple Web store on (Live)

Check list need to get from customer side

1)Webshop ID 

2)Webshop URL (Live)

3)ERP webservice URL + credentials in case different from current one (beta and live)

4)Admin e-mail address of the live web shop URL (in order for the SSL certificate to be ordered by Sana hosting) 

email should have the following format.


double check user already maped the server details form their side 

 Verify whether url pointed to our server

Hi xxx, 

Thanks for the information,

It seems the live URL (www.wahlnl.store) is not mapped with our server,

could you please map the DNS of live URL to our server IP: <This is hosted ip 51.5.145.193.>

--------------------
eg wahl-beta.sanastores.net
 if u dont know the IP address , just log to server by RDP, and on brower type "whats my ip" 


1.Request license if not already created

Refer to the Configure Multiple Web store on (Beta) for more details


2.Request Certificate for the new webshop 

https://sanacommerce.visualstudio.com/Sana%20Hosting/_dashboards/dashboard/8dc80a0e-5113-49a4-bc3b-d813559d7d73

created ticket for New SSL Certificate for Champion Power Equipment.

https://sanacommerce.visualstudio.com/Sana%20Hosting/_workitems/edit/77686?src=WorkItemMention&src-action=artifact_link


Ravensburger CH: https://sanacommerce.visualstudio.com/Sana%20Hosting/_workitems/edit/107575


3. Create a new webshop 

eg: ChampionPowerCALive

 When you created a new webshop it required to have an NT popup because the site needs to be tested before granting access to the public users. (to Show NT popup Anonymous Authentication need to be Disabled).

 When we want to add a new webshop to Live, we do not directly bind the website URL to exist Live Web site (as we do in Beta sites).  we create the new webshop separately.


1.Authentication
2. Current Live Website

3.Newly created web site for With NT Popup



because IIS only provides one Authentication configuration (NT Popup) per site. (it does not support multiple NT Popup even we bind to different hostnames for one web site)

if the current shop is already on Live, Then its Anonymous Authentication is Enabled (NT popup is been disabled ).

As a solution for this, we create a new Webshop on IIS (ChampionPowerCALiveand set it's NT popup Enabled. to enable the NT Popup, we set as following (Image: 3.Newly created web site for With NT Popup)

Anonymous Authentication - Disable 

Basic Auth - Enabled.


 4. Add new licenses to the Live environment.

 add to bin folder/ backup old and 

Task service folder.


5. Select new SSL certificate

right click your Live site > site Binding > Edit > SSL certificate > select the correct / new license file.

 




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








6. Run the script and add new web store to live > restart a pool





7. Need to change the app pool of the newly created site

for this example, we set  "ChampionPowerCALive" to the Original Live site app pool.

web site ChampionPowerLive and ChampionPowerCALive both use ChampionPowerLive app pool

else it will get an error on the new webshop.




8. Then go to the new webshop and the popup need to be displayed.

 



9.Bind after testing

after testing, we don't need an additional webshop with NT popup,

then add domain url of additional shop to live bindings


if You recive run time error 

add domain default shop 






created ticket for New SSL Certificate for Champion Power Equipment.

https://sanacommerce.visualstudio.com/Sana%20Hosting/_workitems/edit/77686?src=WorkItemMention&src-action=artifact_link

video call by Aji

https://photos.google.com/photo/AF1QipMjrVXN7aQlGjQ5FIbAyFXtSC1jpsuDUbv3ROF-


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

else inform to customer. 

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. 

















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


 



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