The default URL of WSO2 API Manager Store is
https://<HostName>:9443/store.You can change the URL of the Gateways and API Store tenants in WSO2 API Manager as follows:
Install Nginx and create SSL certificates
Follow the steps below to install Nginx and create SSL certificates
Remove your current installation of Nginx using the command below.
Run the following command and install Nginx.
Create an SSL certificate.
Go to <APIM_HOME>/repository/resources/security and use the following command to add the certificate to the client trust store.
Open /etc/nginx/sites-enabled/default in your terminal and add the following configurations with your custom domain name.
Setup custom domain mapping in the registry
Log in to the management console as (
https://<HostName>:9443/carbon) as admin (or tenant admin).
- In the Main menu, click Browse under Resources.
/_system/governance/customurl/api-cloud/<tenant-id>/urlMapping/<tenant-id>. Click Add Resources under Entries and select Create Text Content.
Add the following resource configurations to the registry and click Add.
Configure the store webapp
<APIM_HOME>/repository/deployment/server/jaggeryapps/store/site/confdirectory, open the
site.jsonfile and add the tenant header parameter as shown below.
You can choose any name for the header and set the virtual host to create the specific domain.