Page not found when I try to access my custom module
There are several reason for "Page not found." I'm sharing the some points may be helpful to someone who face same issue.


Check your php log file. if there is some php error in your code, it also cause page not found. It occur in my case.

Check PHP file location, which you mention in routing file. Sometimes php file location not correct.

Most important point, check yml file for indentation, if indentation is not proper it also cause "page not found" issue.


Check recent log message and try to sort out warning/error if any 


@Kiran Tej, my issue has been resolved. In my case by mistake I placed the file directly inside the 'src' folder. Please read above points may be it helpful to you if your issue not resolved yet.