cancel
Showing results for 
Search instead for 
Did you mean: 
Go to solution

Why am I Getting, Server Error in '/' Application.

Ok First Off, I just got my site up and running. I Was Getting the Default Page

"change future home of something quite cool"

I'm Using cPanel

I Uploaded a index.html file in the Public_html Directory.  A little understanding of the Directory Structure Would be nice

 

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
1 REPLY 1
Rockstar I
Rockstar I
Solution

Re: Why am I Getting, Server Error in '/' Application.

Hey there,

 

Based on what I'm seeing in the code you posted, you're using a Windows server config file. That will not work on a Linux based server. You most likely need to just rewrite the code so it's compatible with a Linux server. 


Best Regards,

Joe


Check out my site! | My Garage Articles | Portfolio/Resume

* Please note that I offer free advice on this forum. I DO NOT PROVIDE ANSWERS VIA PM. If you would like personalized help, you can see my pricing on my services page. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *