0

I have one IIS server.

In that hosted 2 application in Default website.

That are accessible by IP/Hostname:

http://..*.**/AuthorizationServer

http://..*.**/ClientServer

Is any way to access it by subIP.

because I can't use '/' char in the path.

I don't have any purchase domain so plz help me.

  • From where do you want to access? Internet? Assuming you didn't buy a static IP you'll need to buy a domain and map it to you dynamic DNS name. – Karl Richter Jun 12 '16 at 10:19
1

If you can't have a / in the path, then you're left with one of two options:

  1. Two websites, same IP address - but access by Hostname only
  2. Two websites, two different IP Addresses - but access by Hostname or IP address

With Option 1, you essentially create two websites - one website's path is the direct path to the AuthorizationServer, and use a "Host name" in the site binding. This is known as using Host headers to provide content based on the HTTP request made by the client. The other website of course has a similar setup, but with a different Host name.

Host Name Example

With Option 2, you also create two websites, each one with its root directory being the application - and you add an additional IP address to your web server using TCP/IP Properties in Windows. This however will mean that you cannot use DHCP on your web server. Once you've added two IP addresses, you bind each web site only to one of the IP's.

This the option what you were leaning towards in your question.

Advanced TCP/IP Settings Binding for Single Web Site

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.