4 ms·
You can run different hosts on one web server, like company.com goes to localhost:5555 (your app or whatever) and ssh.company.com goes to localhost:8443 (let's
by okasaki 3y ago
You can run different hosts on one web server, like company.com goes to localhost:5555 (your app or whatever) and ssh.company.com goes to localhost:8443 (let's say you're running ssh3 on that port)
- qingcharles 3y ago* depending on your web server/reverse proxy configuration [for instance, I run Kestrel and it really isn't designed to target more than one site; I do it, but it's like bending that Lego brick to make it fit where it shouldn't go]
- okasaki 3y agoYes I suppose, although you can always put a web server that does support it (like nginx) in front of your web server that doesn't support it.
- qingcharles 3y agoYeah, this is what MS used to recommend, although they now say their own version YARP is better.