sbornstein2
asked on
Setting up host name on windows service port.
Hello all,
I have a wep api setup as a windows service running against a port like 6000. How can I set a host name up like http://myappservice.... instead of the computer name and port to reach it?
I have a wep api setup as a windows service running against a port like 6000. How can I set a host name up like http://myappservice.... instead of the computer name and port to reach it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Create a CNAME in DNS and change port to 80 (preferably 443 with a certificate)
If you already have website on 80/443, use host headers to route to correct site
If you already have website on 80/443, use host headers to route to correct site
ASKER
Thanks
There really isn't a way around this without using a firewall to translate one port to another (which you could possibly do with Windows Firewall).