When I register a domain name, I point the A record to my server.
On my server, in IIS, I have bound the domain name to a specific directory path on my server
I wondered if it's possible to achieve the outcome of the above but without domain names, and instead use ports (or something similar)
eg, my server is 1.2.3.4
Is it possible to set IIS up to detect traffic on 1.2.3.4:1 and direct this to directory A (which could be a PHP website)
And if I chose to go to 1.2.3.4:2, it would be bound to a different directory path (such as a .ASP web app)
I have tried doing this by port but always get a 403 and am unsure if what I'm trying is even possible (or not)