I have wampserver installed on my local pc. But when I want to test my php files using my localhost, I am always led to one of the php files I have created. It is as if I had set it to act as a default file to be opened whenever I connect to localhost. Due to this I am unable to test any of my files on my locahost. Instead, I am now using a subdomain on my host's server to create files for testing.

Why is this happening? How do I change it so that whenever I connect to local host, I can see all the php files that I have saved locally on my pc instead of one particular file which is acting as a default file?