IIS 7 and Above
URL Rewrite Module
IIS 10 URL Rewrite HTTP to HTTPS redirect on same port
Last post Aug 06, 2018 07:01 AM by litecross91
Aug 03, 2018 11:43 AM|litecross91|LINK
I operate some service on my Windows Server e.g. plex or torrent clients on different ports and I want if the user write the simple http url with the service port than redirect it to https site with the same port. Can u help me
how can I solve this with URL rewrite/redirect or other way?
I tried much option but not work.
Example: http://myhomepage.com:8083 TO
I think it's not an impossible task but cant solved it. Pls help me.
Tried (but I would like redirect all port to same https port, not only one):
Aug 03, 2018 12:19 PM|lextm|LINK
TCP/IP does not allow a single port to support both HTTP and HTTPS. Don't chase the impossible and use two ports.
Aug 05, 2018 09:54 PM|litecross91|LINK
Okay. I want to port redirection from http://myhomepage.com:8083 to
https://myhomepage.com:8084. How can I set up?
The default http port (80) works immediately without conditions but I can't redirect a specific port. I installed the ARR but I dont know what the next...
I tried this (not work): Not work
Aug 06, 2018 01:06 AM|deepakpanchal10|LINK
You had asked that,"I want to port redirection from http://myhomepage.com:8083 to https://myhomepage.com:8084. How can I set up? "
I suggest you to set redirect like below.
<?xml version="1.0" encoding="UTF-8"?>
<rule name="http to https" stopProcessing="true">
<match url="myhomepage.com:8083" />
<action type="Redirect" url="https://myhomepage.com:8084" />
Aug 06, 2018 07:01 AM|litecross91|LINK
Thanks but it doesn't work. I deleted all conditions and I did what you showed. I don't know why and neither this solution doesn't work for the default myhomepage.com:80 site.
The browser drop this fail: Chrome fail
If I type localhost/myhomepage.com:8083 in the browser than it's works perfectly but if I type simple myhomepage.com:8083 than does nothing. Why do this with me? Pls give me some advice. Thanks!