问题
Not sure how to explain this but will try my best,
I have a laravel application hosted on aws ec2 running on maindomain.com
- maindomain.com (main website)
- maindomain.com/storexyz (main website slug)
- 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