Domain Mapping Setup for slug of a different domain [closed]

送分小仙女□ 提交于 2021-02-05 12:03:08

问题


Not sure how to explain this but will try my best,

I have a laravel application hosted on aws ec2 running on maindomain.com

  1. maindomain.com (main website)
  2. maindomain.com/storexyz (main website slug)
  3. storexyz.com (new domain)

There are individual stores in maindomain.com like maindomain.com/storexyz

Now if storexyz.com domain has been purchased.

If any visitors visit storexyz.com domain, content of maindomain.com/storexyz (slug) should shown to the visitor, but the url should still be as storexyz.com

Please let me know how this can be achieved.

来源:https://stackoverflow.com/questions/66022215/domain-mapping-setup-for-slug-of-a-different-domain

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!