Validating a Domain using Laravel-domain validation using laravel

By | March 18, 2017

How to validate a domain name using laravel and ajax.if we enter a domain name(Eg:http://test.com)

through ajax call we will validate the domain

Below are the routes,controller,model,view files

routes.php- in the latest version laravel web.php

controller-Welcomeontroller.php

views file-urlvalidation/urlvalidation.blade.php