asp .net change default page from within website RRS feed

  • Question

  • Hi,

    I am making a website and I want to be able to login to an admin panel and then change the default page to a maintenance page and vice versa should I need to take down the site for whatever reason. 

    NOTE - I am new to ASP .net but not Visual Basic.

    Any answers are greatly appreciated.


    Sunday, July 9, 2017 10:22 AM

All replies

  • If the site is down, how are you going to show any page?

    Anyway, you should post to the ASP.NET forum.

    If the O/S, IIS, the registry, file system and user accounts are not harden to attack, there  are 1,000 page books that cover this and the experts can hardly protect the machine and IIS, then you'll just be putting another site that is hack bait and a jumping off point for hackers to attack networks. 

    I suggest that you look into a Web hosting site.

    Sunday, July 9, 2017 11:01 AM
  • Hi TheCakeChickenRc,

    Since this forum is discussing and asking questions about the Visual Basic programming language, IDE, libraries, samples, and tools, and your issue is more related to This link about, you will get more professional help here, please refer that:

    Thank you for participating in the forum activities.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, July 10, 2017 6:13 AM