• Everything uploads fine, and I troubleshooted an issue with getting a 403 (by adding index.php to the default docs in IIS).

    But now, all of my pages return a 404. They are all there, uploading of the site (using WebMatrix and MS Web Deploy) goes off without a hitch, with no errors reported. I have visually verified the existence of the files on the web server also.

    But, when I got to the site (www.stevenburns.com) I get a 404. I tried using stevenburns.com/index.php, but that gives a 404 too. I know this only launches wp-blog…, so I tried that also…and also a 404.

    The site works 100% fine in WebMatrix. But, as soon as I upload it, the web server only returns 404’s.

    I’ve seen a lot of posts about this…but nothing fits my issue. It seems an easy enough fix, but I’m stumped at the moment. Ugh. LOL

    Windows 2008 Server 64bit
    MySQL 5.5
    PHP 5.3.6
    PHP for WebMatrix)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi compustrat
    When I do a whois lookup of stevenburns.com, I see it pointing to these nameservers:

    MYDNS2.COMPUSTRAT.COM
    MYDNS.COMPUSTRAT.COM

    When I ping your domain, I get this IP address: 96.229.121.29 (which routes to lsanca.fios.verizon.net).

    Does the above look correct?

    If so, then your DNS seems to be correct, and you can start troubleshooting the setup on your local machine.

    If you upload a generic index.html (not php), does that return a 404 as well?

    I’m not too familiar with Windows servers, but I suggest upload an index.html file in several different parent directories to find which directory is the correct directory. From what I see, it appears that the files may just be uploaded to the incorrect directory.

    Thread Starter compustrat

    (@compustrat)

    Hi Kevin! Thanks for the info. Yes the DNS information is correct. In fact, I do the DNS and web hosting from my home…and that is my static IP.

    Let me give a big DOH! because I never thought to try an index.html in place of the index.php. I will try that when I get home in a few hours. I guess I was a bit burned out after working out all the MySQL issues I had. LOL Anyway, I’m anxious to see what I get with that.

    Many thanks again. I’ll post my results when I’m done.

    just a little extra info:
    If I upload dasBlog to the site, it displays and interacts just fine. I’m actually hosting about 9 other sites off of this machine, all using .htm/.html files, and all of them display correctly.

    https://www.fozziebear.com
    https://www.ifitwereuptome.com are two examples.

    Hi compustrat. My intuition was off. If you’ve got several other sites running on your local machine, then it sounds like you know where files need to be uploaded to : )

    Good luck, let us know how it goes!

    Thread Starter compustrat

    (@compustrat)

    Right on brother! Thank you though, I needed that help to get my head on straight again. LOL

    So…it ended up to be…

    Fixed! – Had failed to enable CGI on the web server. A bit of a doh! moment, but that was the problem. Enabled it by opening the Computer Management Launcher, and Adding Role Services to the web server. In there, I checked the box for CGI.

    I then uninstalled, and then re-installed PHP 5.3.6, selecting the option to install FastCGI during that install process.

    Voile…the site immediately began loading.

    Thank you again! I really appreciate your time and assistance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All my pages return a 404 error.’ is closed to new replies.