Skip to main content
Known Participant
February 4, 2018
Answered

Redirecting a website in ColdFusion

  • February 4, 2018
  • 1 reply
  • 6887 views

How to redirect a website from http://xyz.com (port 80) to https://xyz.com (port 443) through internet information services manager (IIS). I already have a working https://xyz.com i just need to redirect my current port 80 website to working port 443 website.

    This topic has been closed for replies.
    Correct answer Dave Watts

    Redirect from HTTP to HTTPS using the IIS URL Rewrite module – Damian Wiese

    Note, you can also do the same sort of thing with CF in Application.cfc/cfm by looking at the relevant CGI variables and using CFLOCATION to redirect if appropriate.

    Dave Watts, CTO, Fig Leaf Software

    1 reply

    Dave WattsCommunity ExpertCorrect answer
    Community Expert
    February 4, 2018

    Redirect from HTTP to HTTPS using the IIS URL Rewrite module – Damian Wiese

    Note, you can also do the same sort of thing with CF in Application.cfc/cfm by looking at the relevant CGI variables and using CFLOCATION to redirect if appropriate.

    Dave Watts, CTO, Fig Leaf Software

    Dave Watts, Eidolon LLC
    Known Participant
    February 4, 2018

    Hi Dave,

    Thanks for your reply. Its very helpful and informative.

    Thanks and Regards,

    Sai