OK, now let say we have 2 sub domain of website:

old.websitename.com and new.websitename.com

We need to support both urls for a certain length of time and rather than creating 2 sites in IIS.

We wanted to see if there was a way of doing this by hosting just a single site.

But, we do not want do any redirects on the urls and both urls will need to be active eg We can not have a user go to old.websitename.com and be redirected new.websitename.com. 

If they go to old.websitename.com they need to stay on that url and not be redirected in any way.

All of things are can be done on IIS 10.

What we have to do is just create a binding for each hostname, the steps are:

1. Right click the site. "Edit Bindings"

edit bindings IIS

2. Click Add

Click Add binding IIS

3. Enter the hostname

Enter the hostname

4. Repeat step 1-3 for each hostname. (new.websitename.com)

That's all!!, So simple.

Post a Comment

Previous Post Next Post