0

What I want to do is: Site URL: example.com API URL: api.example.com

And how can I do this? I m currently using magento 2.4.5

I would like the api url to be only for API calls not for the whole site again.

thanks

1 Answer 1

0

I think its possible, obviously you need to configure virtual host / subdomain on your sever and then you can just configure multiple website for your magento site after that connect subdomain with the website that you just created on magento.

https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/multi-sites/ms-overview.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.