Odd IIS/NAT forwarding question
-
Not sure if I'll find the help here but it's worth a shot.
I am using virtual ips, where a public ip is set to 192.168.70.0/24 internal net, and I'm nating port 80 to a webserver using IIS 8. I've created a website called my.domain.com, and I've got proper dns at godaddy set to my public ip. When I visit the website, I get an error 500. I've tried changing the binding on the website to any, and changing it back to it's local ip. Doesn't seem to make any difference. The only thing on the website is a index.php file that says hello world inside.Any idea if it's my pfsense causing this, or some form of misconfiguration in IIS? Anyone here an IIS expert? :)
The way it works is this (world) -> me -> pfsense -> switch -> physical vmhost -> vm web server. All running server 2016.
-
Perhaps it'd help to install PHP on the IIS first? (Or use html instead for testing?)
http://www.microsoft.com/web/downloads/platform.aspx
-
Perhaps it'd help to install PHP on the IIS first? (Or use html instead for testing?)
http://www.microsoft.com/web/downloads/platform.aspx
You are correct. I'm so used to lamp and wamp, that I haven't played with IIS in years. Now I just have to figure out how to do that haha. I tried the platform installer and that hasn't worked yet. :( not sure why. PHP did get installed. Still getting the same 500 error.
-
Well, installing PHP on IIS is totally OT here.
-
Well, installing PHP on IIS is totally OT here.
Yeah I know. Figured I'd give it a shot. ended up having to do this: http://stackoverflow.com/questions/21216228/php-manager-for-iis-fails-to-install just to get php manager installed. It shows PHP is installed, but I'm still getting that 500 error. sigh.
edit just figured it out. Complete w-t-f. Needed this: http://www.ryadel.com/en/php-cgi-exe-the-fastcgi-process-exited-unexpectedly-error-and-how-to-fix-it/
Man I love google. Had to get the x86 version of that.