Reputation: 215
I'm trying to set up bindings for two services on localhost IIS but when I attempt to access the URL I get 404
(Page cannot be displayed).
Edit: This is purely for testing purposes and not for a release!
My setup:
Service 1:
8082
80
Service 2:
8080
80
Can anyone see what I might be doing wrong?
Upvotes: 2
Views: 3220
Reputation: 215
I'm going to answer the question myself as I found what the problem was. Maybe a simple thing obvious to most but it might help someone:
The url's (ServiceAdmin.localhost and jftapi.com) needed to be added to the hosts
file located in Windows\System32\drivers\etc
as follows:
127.0.0.1 ServiceAdmin.localhost
127.0.0.1 www.jftapi.com
This was what I had missed!
Upvotes: 1