Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi,
I hosted one website in parallels plesk panel.Then it show error to add custom error page="RemoteOnly" default.redirect= ........i add as said to the web.config page and made a default.aspx page in IIS manager...then i deleted the website and again uploaded then it showing the same error...what will be the reason?...sometime it may be a simple question.please help me to host my website
Posted

1 solution

It seems first time you set the default page . but when you reupload it again it again overeright the default page related configuration.

Please do following changes in your web.config.

<system.webserver>
  <defaultdocument>
    <files>
      <clear />
      <add value="Your page Name here" />
    </files>
  </defaultdocument>
</system.webserver>


Hope above solution will help you !!
 
Share this answer
 
Comments
Member 10467514 31-Dec-13 9:14am    
it showing error near <system.webserver></system.webserver>
Nigam Patel 31-Dec-13 9:18am    
I didn't get your point. can you describe it ?
Above comment by OP is edited. Please check.
Member 10467514 1-Jan-14 0:43am    
Thanku for all ,...it is still not working and showing error to add custom error page,i did it then also showing the same error...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900