Click here to Skip to main content
15,887,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Guys,

I have a mvc3 application and my client has multiple domain names registered for the same website.

Now what i wanted to do is when user enters a url name i have to redirect it to the sub-pages of my website.

For eg.
1) if i enter www.xxx-partner.com , it should take you to www.xxx.com/partner
1) if i enter www.xxx-business.com , it should take you to www.xxx.com/business

How should i do this, use jquery or javascript or normal redirection, If you guys have any samples. please help me.

Thank you ...

--
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900