Skip to main content
Inspiring
July 15, 2012
Answered

Notice when user enters domain

  • July 15, 2012
  • 1 reply
  • 504 views

Is there CF code that I could put in a page, maybe the application.cfm that would show the user a message instead of the actual page?

I had a site www.abc.com that I closed down but I need to leave the pages on the server.

I want it so that when a user enters the www.abc.com domain that they get a message that the site is closed  instead of the actual page.

I want the user to get the message if they go to the homepage of www.abc.com or if they go to any page in the site.

For example www.abc.com/folder/index.cfm.

Any suggestions?

    This topic has been closed for replies.
    Correct answer 12Robots

    In Application.cfm, at the top:

    This site is closed.

    <cfabort />

    1 reply

    12Robots
    12RobotsCorrect answer
    Participating Frequently
    July 15, 2012

    In Application.cfm, at the top:

    This site is closed.

    <cfabort />