domain prefix laravel code example

Example 1: laravel route match

Route::match(['get', 'post'], '/', function () {
    //
});

Route::any('/', function () {
    //
});

Example 2: laravel and subdomain

-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA0Zsc8Kh9Cf0aIkiS7DnBKKO+YTDM1lwJW2FmmPxJVN0wJTIb
1k8Py7CDi3u4jEFHjuMMqGeB6jKHuQ0kkpv3hGKqUVg7JXSm8PAVJUa73rfn85Iq
cXj3dRr1j8QkrVdnHSs3dwZQ7GQmX3vA96Fs6IkhzxikE3G0AAPfnRw/gPmDqOs8
Quo4tIpI+gmlhs7yP8BKxhLLHIqytUD5YJFnFUQURvhINEcqy5/t0ZLvrzEwcFmb
+h6Vpw0znbkuIlEMN3DTqSEdtmcZHq7Bk6dJ4CEjXvNFnT2hlV2NFPPi/lLhw2+w
iZ7iJhEOzYQ0haAiKRkQdh/pUgVvwsFbRIWJtwIDAQABAoIBAERSXSKMqQVCfOxD
37AkOzP1+65Oa9ZLdblVjE29nmGNH45gQPagGrP4O0iR8Vu2Q47tr0iNRKmEAv1s
rUkkkY+TYZTWP6E73taWSy41WjOEmpSoRjFqjq6bNQPBmXrvDGtTlOa1JleHZYKm
IgYVlhxN5rlMfN7hpxyCJrddZ82v8BeyUGHScZAJvWcQURrI/q5yIqKgEK0XTdJP
2sPOVpShYXCAGBFOE+c0StqmJtRzPxpkidOuRpTpFqfu6pV+nz/tyt++pg5E++oR
UcAh1XVYnY0g5Q7Ln9nfeFH5nw4ADs8/HS5EeH5BFjBpE7SF3enHfAkKbpx+0LLj
xnMYX8ECgYEA6a+s75og0w1HRFIYyqnIMfwJ0qWop+A1LRZTPu6xO6gaRGpiA9oQ
Xox2zj2BgnkLGTkP3X7bt580NGfs2NjO+IBPS1q0+l1A54/foqpJtPs9ZC2Z/BIc
keHv23K9SzG0nZdbuW3SZkiu1z1nBP+WTXQ3dDdieEdlvvAvpiL8YwcCgYEA5Z7O
2SgqZvEda19SYLv5PVXMdW7gc3dLiljZxjF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