You’d have to modify XAMPP to allow external access to Apache. This is generally a bad idea, XAMPP is intended for local development, it doesn’t have all the security built in to function as a public webserver. You’d need to add restrictions to allow only certain trusted IPs access.
Your XAMPP has no domain name assigned to it, so it would be accessed by it’s current IP. The other problem is nearly everyone’s ISP puts clients on dynamic IP allocation, so not only does Apache’s IP change from time to time, but the trusted developer’s IP you’ve allowed will keep changing too.
The site will eventually go on a normal hosted server at some point, right? Why not install a development site on that server in a subfolder, then move it to root when it’s ready to launch?
Use a free shared host, like [providers redacted].
Use a git server to version your code
A shared host you be like a XAMP server, you shold configure NetBeans to edit and sync your code live to your shared host.
[Per the Forum welcome, we reserve the right to close topics that promote specific hosting providers due to the amount of spam that they attract. Talking about attributes to look for in hosts is fine. Further mentioning of specific hosts will cause this topic to be closed.]
This reply was modified 6 years ago by bcworkz. Reason: hosting provider recommendations redacted
Using NetBeans you can create a new project, based on a remote host.
Using SSH or FTP, you can download and uplaod all files of project to the server online, other way you can configure netbeans to upload a file to server as soon as it is saved.