Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)


* 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]


Yes 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.


Yeah, this is what MS used to recommend, although they now say their own version YARP is better.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: