I have a Magento setup where vendor can create their shop.
Now I want that each shop will have their unique URL in the form of sub domain
for eg. if a vendor has created a shop which name is "abcshop" then URL for this shop should be http://abcshop.maindomain.com
Please help how we can achieve this.