cancel
Showing results for 
Search instead for 
Did you mean: 

How to change PWA Frontend URL?

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

How to change PWA Frontend URL?

I setup PWA Studio in my local. This is the final URL of the PWA storefront


https://magento-venia-concept-y2f--.local.pwadev:9722

 

how to change this URL to something like "example.com"

 

I managed to find below variables in .env file. But when I changed them I got the frontend URL something like "http://0.0.0.0:9087" and there is a message during the build "could not configure or access custom host. using loopback"

MAGENTO_BUILDPACK_SECURE_HOST_SUBDOMAIN='custom-value'

MAGENTO_BUILDPACK_SECURE_HOST_EXACT_DOMAIN='my-favorite.pizza'

6 REPLIES 6

Re: How to change PWA Frontend URL?

Hello @kalyanchakri 

 

Have you got the solution for the same ? if yes can you share how you have resolved that ?

if issue solved,Click Kudos & Accept as Solution

Re: How to change PWA Frontend URL?

Hi @Manthan Dave 

 

Not yet. I am not working on it currently. Let you know if I find.

 

Re: How to change PWA Frontend URL?

Please let me know if you got solutions for the same.

Re: How to change PWA Frontend URL?

Hi @koushik_ch 

 

I didn't get chance to look into the same. But I can suggest you to join the slack group (magentocommeng.slack.com) and discuss in the PWA channel. You can get quick answers there.

Re: How to change PWA Frontend URL?

Ok, Thank you @kalyanchakri 

Re: How to change PWA Frontend URL?

Hola, después de cambiar esas variables de entorno, debes volver a ejecutar el comando 

 

yarn buildpack create-custom-origin packages/venia-concept

 

Saludos.