C
C
Cavin March2017-03-01 17:49:37
Laravel
Cavin March, 2017-03-01 17:49:37

How to intercept all requests for subdomains?

In general, I am writing an "auto-donate" service. You need to stir up a feature with subdomains, that is, so that each auto-donate store is available on its own unique subdomain. Something like myshop.domain.ru.
And I will need to receive a request for a subdomain, find the right store in case of failure, issue a 404.
How can I intercept all subdomains?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2017-03-01
@v_decadence

Documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question