Aware, when you CAN'T use ports 80 & 443. How?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Aware, when you CAN'T use ports 80 & 443. How?

Post by Jaymer »

If I need to "co-exist" on a server that already has IIS running, and using the main ports, I can run Aware on any ports, right?

Are there any gotchas in doing this?

1st one I ran across is trying to have a subdomain come to the server. jaymer.mycoolapps.com
gets a 404 Not Found, because IIS hasn't been told anything about this (I assume).
So is there a built-in way in IIS to redirect a subdomain to http://mycoolapps.com:8080/AwareIM2/index.html ?
or do I do something like this? (this is a trick from this forum, in the ROOT dir to repoint to your bsv dir )

Code: Select all

<% response.sendRedirect("/AwareIM2/index.html"); %>
<html>
<body>
test page
</body>
</html>
thx
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
joben
Posts: 221
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: Aware, when you CAN'T use ports 80 & 443. How?

Post by joben »

You first need to add a site in IIS and add a http and/or https binding for jaymer.mycoolapps.com
Then you can use the HTTP Redirect feature in IIS for this specific website and send all requests to a different URL. If the HTTP Redirect feature is not installed in IIS, you can add it easily:

https://docs.microsoft.com/en-us/iis/co ... predirect/
Regards, Joakim

Image
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Aware, when you CAN'T use ports 80 & 443. How?

Post by PointsWell »

joben wrote:You first need to add a site in IIS and add a http and/or https binding for jaymer.mycoolapps.com
Then you can use the HTTP Redirect feature in IIS for this specific website and send all requests to a different URL. If the HTTP Redirect feature is not installed in IIS, you can add it easily:

https://docs.microsoft.com/en-us/iis/co ... predirect/
Having played about with Nginx as a proxy forwarder (which is probably much different to IIS) there are a number of quirks in getting it to behave nicely behind the web server. It would be great to have some documentation on how to set up AIM to work consistently with proxy forwarding web servers
Post Reply