Programming in vb.net: Publishing Website Using Visual Studio on newest questions tagged vb.net – Stack Overflow
I have a website hh-alrawi.com, the problem is every time I publish the site the main page (Index.aspx) does not appear, the correct site URL is : http://www.hh-alrawi.com/index.aspx , so I wonder how can i put the main page name after the domain name (Index.aspx) always after the URL, I tried to edit my web config but it’s not working, my Web Config :
<configuration>
<system.web>
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0"/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<customErrors mode="On" defaultRedirect="Index.aspx">
<error statusCode="404" redirect="Index.aspx" />
</customErrors>
</system.web>
<system.webServer>
<defaultDocument enabled="true">
<files>
<add value="Index.aspx" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
Please check the site to understand what i say
, Thnx for your time
See Answers
source: http://stackoverflow.com/questions/10761185/publishing-website-using-visual-studio
Programming in vb.net: programming-in-vb-net
Recent Comments