FerryDocs

The default domain

Ferry serves a service under each domain of the server, but shows its URL with one domain.

Edit on GitHub
shopshop.example.comdefault domainshop.localhostalso onlineThe URL shownin the dashboard

The sets the URL of a service in three places.

PlaceWhat uses the default domain
The dashboardThe URL of each service
The CLIThe command ferry open
Your appThe FERRY_EXTERNAL_URL

Change the default domain

Terminal
$ 

The rules

  • Only a domain that Ferry serves can be the default.
  • A service reads its new FERRY_EXTERNAL_URL at its next deploy or restart.
  • If the default was a such as localhost, the first domain that becomes active becomes the default.
  • If you disconnect the default domain, the becomes the default again.

On this page