I am using Magento 22.214.171.124 version in a WAMP Server.
I disabled a custom module through the Admin section (Configuration > Advanced > Disable modules output). Even after I did re-indexing and cleared cache, I am able to access a page that is created with the module.
etc/modules/Mymodule.xmlfile, I got the 404 page error.
For disabling a module in magento, should I follow both the above steps?
Or will it be done automatically when I follow the first step?