Error 404 Redirect IIS 8

Discussion in 'General troubleshooting' started by trek, Nov 1, 2012.

  1. Windows 2012 with IIS 8

    Using IIS Manager I have the following settings.

    Status Code: 404

    Redirect: http//www.MySite.com/err404.aspx

    (err404.aspx is on the server and the path is correct)


    Under Feature Settings.

    Mode: On

    Redirect Mode: ResponseRedirect

    Absolute URL: http://www.MySite.com/err404.aspx


    In web.config I have:

    <customErrors mode="On" defaultRedirect="error.htm">
    <error statusCode="500" redirect="err500.aspx"/>
    <error statusCode="404" redirect="err404.aspx"/>
    </customErrors>


    http://MySite.com/test returns the default 404 error page for IIS
    (IIS 8.0 Detailed Error - 404.0 - Not Found) , IIS is not redirecting to my err404.aspx file it is using it's own 404 page.

    It is as though I have nothing set, it is acting in the default mode.

    What am I missing? Why is IIS not redirecting to my err404.aspx page? All help is greatly appreciated.
     
  2. I have the same issue, have you fixed it .
     
  3. Can you post a URL so that I can take a look at your site and try to figure out what is going on?
     
  4. ComputerMan

    ComputerMan Winhost Staff

    Maybe the application in your test directory isn't inheriting settings from the root. Try setting up the same settings in the web.config file that is sitting in the subdirectory "test" ?
     
  5. custom error 404 -- doesn't work

    i am on the same server as TREK.
    my settings are the exact same thing.

    support suggested this link:
    http://forum.Winhost.com/showthread.php?t=7578

    that's exactly what i did before contacting support anyway.

    one thing i noticed is that at step #5 after clicking on OK, i got a LOCK VIOLATION.

    the only option is to cancel.
    thus, it seems like it's not saving my custom error settings.

    i have a ticket and have been communication with support for 2 days now.
    problem still exists.

    the custom error setting in KB doesn't mention about setting in ASPX module and IIS.
    the custom error in ASPX is working correctly for me.
    works on the first attempt.
    IIS is the one we're having problem.

    we're using FileZilla to transfer the content.
    we tested something like this for ASPX and it works.

    www.mydomain.com/no.aspx

    we tested IIS like this and it doesn't work:

    www.mydomain.com/123

    btw, i noticed Winhost custom error is working properly for IIS.
    www.Winhost.com/123


    anyone got this problem solved yet?
    i have about 2 weeks left before my 30 days hosting trial period expires.
     
    Last edited by a moderator: Oct 14, 2015
  6. Elshadriel

    Elshadriel Winhost Staff

  7. custom error - not consistant

    after 2 days talking to tech support via ticket submissions, i got 404 to work properly after the tech did something on their end.

    next, i'm trying to configure error code 500.
    back to square one again!!

    i was able to get error code 401 to work properly on the FIRST attempt!!!

    so, the problem is definitely is not on my end.
    something is weird going on with the server.
    at this point, i got the following result:

    401 - ok (works on the first attempt)
    404 - ok (after the tech did something on his end)
    500 - failed (using the same technnique as 401 and 404)

    same procedures.
    but somehow, 500 failed.

    meanwhile, i wonder what tech support getting paid for if he referred me to post the question in the forum and not answering the ticket???

    if this is how Winhost does business, i like to hear from other users before i spend the time looking for a new hosting service.
    i've been with Winhost for a bit over a week.
    so far, server issues and tech support are not what i expected.

    btw, the tech kept referring to this link:
    http://forum.Winhost.com/showthread.php?t=7578

    which i already mentioned in the ticket about the link and the procedure doesn't work!!
    so, either the tech doesn't even bother to read the ticket, unable to read or a machine replied to my ticket!!
     
    Last edited by a moderator: Oct 14, 2015
  8. Elshadriel, i tried the absolute path.
    i tried the RE-DIRECT link.
    tried a bunch of other stuff.

    just remember, i got error code 401 to work properly on the first attempt.
    but, no such luck with 500 and 404.
    so, this is definitely not user's ID-10T error.

    404 only works b/c the tech did something on his end.
     
  9. i posted a video to demonstrate that KB and custom error settings don't work.
    here's the link:

    http://youtu.be/znYg619kyDw

    for some reasons, the tech kept referring to the same link in the forum.
    see video above.
    i began to think that it's a machine replying to my ticket!!! :eek:

    i asssume the tech has access to the server.
    all he has to do is duplicate the process on my server and he will see that it doesn't work!!

    i love Winhost features.
    but, if the hosting service doesn't perform as advertised, might as well be looking for a new service.
     
    Last edited by a moderator: Oct 14, 2015
  10. ComputerMan

    ComputerMan Winhost Staff

    I just spoke to someone else and it does seem you're correct. There seems to be an issue with our Windows 2012 IIS 8 servers. There is no problem on our Windows 2008 IIS 7 server.

    Thank you for the video it was very helpful in understanding your problem. I believe to resolve your issue we migrated you to our Windows 2008 IIS 7 server correct?

    "i began to think that it's a machine replying to my ticket!!!"

    No machine is replying to your ticket only real people ;)

    Also to let every one else know our system administrators are currently looking into this problem on our Windows 2012 IIS 8 servers regarding the 500 custom errors.
     
  11. i just requested the tech to rollback to ii7.
    if everything to my expectations, i will activate another hosting account for ii8.

    already got a notice that i am now on 7.

    meanwhile, my suggestion is to either fire incompetence tech or retrain them.
     

Share This Page