Re: Wildcard routes, subdomains and failing smoke-test

Dieu Cao <dcao@...>

You might consider making a tiny custom 404 app and then map *
and * and any other sub domains to it so that it doesn't fall
through to your landing page app.
Would that work for you?


On Wed, Feb 3, 2016 at 12:46 AM, Engelke, Johannes <info(a)
we got the following problem and I would like to know, if you have an idea
how to solve it.

We setup a view domains:
- <> is used for all the end user related things like
the landing page, documentation, etc. is used for internal
service endpoints and is used for all stuff related to CF (api,
uaa, login…) and some shared things like monitoring UI etc.

I created a route * to move all typos etc. of our customer touch
points to the central landing page. I was expecting <random>
will be still return an 404 Route not found. Now smoketests (using are failing, because the wildcard domain is working recursive
for all subdomains and is returning the content of *.bar app. (See:

* -> landing-page-app
* -> landing-page-app (why?)
* -> landing-page-app (why?)

So my question, were should we fix it? Should the gorouter not be
recursive over subdomains? Should we change the smoketest? Or am I on the
wrong track and we should do something else?


Join { to automatically receive all group messages.