Click here to Skip to main content
15,887,476 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,

I'm looking to map domain to a custom url
For Example I have the www.abc.com/example I want this to be mapped to www.example.com
Let me know in case there is any way to handle such a scenario.
Note : /example is not any physical location

There will be more url parameter appended which should be accessible in the mapped domain
i.e.
www.abc.com/example/product should be accessble using www.example.com/product


I'm looking for the solution on Windows IIS as well as Tomcat/Apache servers.

Thanks

What I have tried:

I have tried using redirects but not got solution.
Posted
Updated 9-Jan-17 5:48am
v2

1 solution

This has nothing to do with code. It has everything to do with setting up appropriate DNS aliases and a little configuration in IIS.

Google for "iis dns alias http redirection[^]" for more information.
 
Share this answer
 

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