Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
 
We all know that RequireHttps is not available in WEBAPI so we need to make a custom one.
What I did here is that I took an incoming HTTP URL, Changed the Port to the one created via SSL and changed the scheme to Https. (That only works for One Tier Application.)
 
Now my question is how do I change the domain name ? (Three Tier or Distributed Apps)
 


like : http://www.karma.com
TO
https://www.newkarma.com 


What I have tried:

Tried Googling but didnt find anything specific
Posted
Updated 19-Dec-18 10:44am
Comments
MadMyche 19-Dec-18 10:12am    
Is your WebAPI built on Net Framework or Net Core?

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