Deployment
Anvil apps are automatically hosted - there’s nothing you need to do to get them running. Check the Quickstart to see the deployment process.
Private vs public URLS
A private URL is automatically set up for your app.
If you’re on a paid plan, you can configure your public URLs. You’ll also be able to use a custom domain name, so your app can be hosted at example.com
instead of something.anvil.app
.
Getting your app url in code
You can get your app’s domain name programmatically using anvil.server.get_app_origin()
. This will always return the .anvil.app
domain, which guarantees to give you something that works regardless of DNS settings.
See Choosing URLs for more information.
Embedding your app in another web page
You can enable embedding for your app, which allows you to put your app in an IFrame in another page.
If you have a static site and you want to build a couple of dynamic widgets in Anvil, you can embed those widgets in your static site.
See Embedding Your App for more information.
Production vs Development
If you want to work on your app without affecting the version of the app that your users see, you can set one version as the ‘published’ version and keep working on the ‘development’ version of the app.
See Production vs. Development for more information.
Importing other apps
Your apps can add other apps as dependencies. This means you can re-use Forms and code, and build apps in a modular way.
See Depending On Other Apps for more information.
Deploy on your own hardware
You can export Anvil apps from the cloud editor, and host them on any computer, using the open-source Anvil App Server.
Anvil on-site
You can get a full installation of the whole Anvil system – both the editor, for building your apps, and the one-click hosting platform for deploying them – in your private network, or in your own cloud environment, as part of an Enterprise installation.
See Anvil for Enterprise for more information.
Hosting Location
Anvil’s infrastructure currently lives in London (AWS eu-west-2).
Do you still have questions?
Our Community Forum is full of helpful information and Anvil experts.