skip to Main Content

I have a asp.net app, in which my start up is inside a directory Home of the root. That ~/Home/Home.aspx should be mine startup page. But when I upload it to my production server, and I type the url it displays nothing. So I need some settings in my web.config so that it will automatially get redirected to that page.

My host is using Parallel plesk 9.5.x

Thanks

4

Answers


  1. Have you tried doing this:
    response.redirect(“page.aspx”)
    on the index page?

    Login or Signup to reply.
  2. Create a new page on your site root with name ‘index.htm’ in that page add the following meta tag to redirect the user to home page.

    <meta HTTP-EQUIV="REFRESH" content="0; url=home/home.aspx">
    

    The number in the content attribute is the time, in seconds, until the page should be redirected. Then, separated by a semi-colon (;) you write the URL to the page to be loaded.

    Login or Signup to reply.
  3. Here you can find how to change the default document of a web in plesk
    http://kb.hyve.com/wiki/DefaultDocumentsHowDoIChangeTheDefaultDocumentOnPlesk

    Login or Signup to reply.
  4. In order to set default page with Windows Plesk:

    • Login to Plesk
    • Click your domain
    • Click Web Directories
    • Click Preferences

    In the option as Documents, you can set the order of which files are searched. If you want index.php instead of index.html, you would make sure that the index.php is listed above index.html.
    You can use the same option to set non existing file as the preferred filename.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search