cancel
Showing results for 
Search instead for 
Did you mean: 

How to change PWA Frontend URL?

Highlighted

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'

5 REPLIES 5
Highlighted

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
Highlighted

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.

 

Highlighted

Re: How to change PWA Frontend URL?

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

Highlighted

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.

Highlighted

Re: How to change PWA Frontend URL?

Ok, Thank you @kalyanchakri