localhost到域名..访问'resource'目录(laravel)中的内容

I changed 'locahost' to 'abcd.com' domain name and its pointing to 'public' directory of the laravel application and working perfectly , but when try to access the '/admin' folder inside the 'resource/view' directory ,getting an error 'NotFoundHttpException' .How to fix that not found exception ? Any help would be appreciated .. Thanks.

If you have index.blade.php inside resourse/view directory you should use like this in web.php or in in controller

    view("admin.index");

You are trying to access folder. I don't see why would you do it but this is why are are getting error. When accessing /admin Laravel thinks that you are trying to access /admin get route from your web.php and it's not there. That is the reason for NotFoundHttpException

If you want to handle that request anyway, in your web.php add this

Route::get('/admin','Controller@Method');