I have a website hosted to root domain say www.example.com. Can I do the mapping as follows-
www.example.com/portal1 mapped to www.portal1.com
www.example.com/poral2 mapped to www.portal2.com
www.example.com/portal1/product/product1-> www.portal1.com/product/product1
www.example.com/portal2/product/product1-> www.portal2.com/product/product1
Please note that all the urls mentioned on left hand side are working correctly (mapping is done). Portals are variable so there can be n number of such portals.
Thanks in advance for help
You cannot do the following mapping with DNS servers, those servers handle domain name only. e.g. www.example.com -> www.portal2.com or example.com -> www.example.com
But you can do this mapping with 301 redirects.
This question is a little bit similar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With