Skip to main content
Known Participant
Feb 4, 2018 6:09 PM UTC
Answered

Redirecting a website in ColdFusion

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 is closed to new replies. Start a new post to keep the conversation going.
    Dave WattsCorrect answer
    Community Expert
    Feb 4, 2018 6:54 PM UTC

    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

    2 replies

    Dave WattsCommunity ExpertCorrect answer
    Community Expert
    Feb 4, 2018 6:54 PM UTC

    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

    Translate
    Dave Watts, Eidolon LLC
    Known Participant
    Feb 4, 2018 9:52 PM UTC

    Hi Dave,

    Thanks for your reply. Its very helpful and informative.

    Thanks and Regards,

    Sai

    Translate