I'm new to PHP, but as I understand, you can't run .php files locally, you need a server with php installed to do so. So I set Netbeans to run as "Remote Web Site", gave it the login credentials, and the path to put the files, all of which is does fine.
The problem is, when I try to run the project, it opens in chrome with a blank page, and there's nothing in the source code either. The URL for this is http://localhost/public_html/index.php, which you can set in the Project Url field of the project settings.
It seems to me that netbeans is trying to run from my local machine (hence localhost), even though it put all the files on my remote webserver. What URL should I be using if I want chrome to access the remote machine? I don't want to use my domain name obviously, so is there any way to run a php project like this?