A self-hosted Expose server shows two pages of its own to visitors: a homepage and a 404 page for subdomains without a tunnel. Both are Blade views in the server repository. To change them, clone the repository, edit the views and run the server from your clone.
The server shows the homepage when someone opens your server's domain without a subdomain, for example https://your-domain.com. It answers with status 200 and the heading "Welcome to Expose!".
Edit resources/views/server/homepage.blade.php to replace it, for example with a link to your team's docs or a note on who to ask for an auth token.
The server shows the 404 page when a request comes in for a subdomain that has no connected tunnel, for example after a developer stops expose share. The default page says:
<h1 class="text-6xl font-extrabold text-center">404</h1>
<p class="px-4 py-2 rounded mx-auto mt-8 text-lg text-center font-medium">
The tunnel »{{ $subdomain }}« was not found on this Expose server.
</p>
Edit resources/views/server/errors/404.blade.php to change it. The view gets the requested subdomain as $subdomain. The response keeps the status 404 whatever the view contains, so a webhook sender still sees the delivery as failed.
Both views live next to the views of the admin interface in resources/views/server/. The admin pages share resources/views/server/layouts/app.blade.php. If you change that layout, the admin interface changes with it.
Keep your edits in a fork or a branch of the server repository, so you can merge new server releases into it.
Let us do the heavy lifting.
Let us do the heavy lifting.Expose Pro gives you custom domains with automatic SSL, reserved subdomains and our Expose servers on five continents, without a server of your own to maintain.
One yearly price, no usage billing.