DNS redirection

Discussion in 'Databases' started by mekbebDA, Oct 26, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have created as site under a sub-directory of the root directory.
    as www.xyz.com/abc
    when users type the url http://www.xyz.com/abc, the site works fine. but when we use the url http://www.xyz.com, the site wouldn't show. it just show the discount asp.net page that confirms the dns is redirected properly with boxes to login to the control panel.
    Is there anything i can do from the discount.aspNet control panel to redirect http://www.xyz.com to http://www.xyz.com/abc


    Doesthe discount.aspNet control panel have features to redirect traffic the same way IIS have it in its directory tab?

    Thanks
     
  2. Well you can do one of two things.

    1. Move all your content to your root. In IIS the start site will always be in the root.

    2. Create a redirect script so that the start up site will redirect it to a subdirectory. Discountasp.net welcome page for new account is index.htm. The redirect script needs to be on a .asp or .aspx page. Create a page called index.asp and delete index.htm. In the top of the line of write out the code...

    response.redirect 'www.xyz.com/abc'

    http://msdn.microsoft.com/en-us/library/ms524309.aspx

    rcp
    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page