liveBook · Manning

Custom domain

As explained in Build Python Web Apps with Streamlit

Custom domain support is the capability to serve an application from a domain name chosen by its owner rather than a provider-assigned domain.

A custom domain lets an application use a memorable web address chosen by its owner instead of a provider-assigned address. It gives a deployed app a more professional, shareable identity. section 12.0 section 12.4

Using a custom domain involves:

  • Registering an available name through a domain registrar. section 12.4.1
  • Opening the registrar’s DNS management dashboard and pointing the chosen address to the deployed application. section 12.4.1
  • Using domain ownership verification when obtaining an SSL certificate for HTTPS. section 12.4.1 section 12.6

A branded application address

Instead of sharing http://fact-frenzy.us-east-2.elasticbeanstalk.com, an owner can use www.factfrenzyapp.com and point it to the Elastic Beanstalk address. HTTPS can then protect traffic between visitors and the app. section 12.4

www.factfrenzyapp.com -> fact-frenzy.us-east-2.elasticbeanstalk.com

Shows the DNS mapping from a custom hostname to the deployed Elastic Beanstalk application. section 12.4.1

How Build Python Web Apps with Streamlit covers it

How deep it goes
Explains registration, DNS pointing, and HTTPS prerequisites, but stops short of detailing the complete DNS configuration workflow.
Examples
Uses www.factfrenzyapp.com mapped by CNAME to fact-frenzy.us-east-2.elasticbeanstalk.com.
What it assumes
Assumes a live deployed application and teaches domain registration, DNS pointing, and ownership verification from practical basics.
What you can do after
Operate a deployed application through a memorable domain and prepare it for browser-trusted HTTPS.
How it connects
Connects domain registrars, DNS, HTTPS, SSL certificates, Certificate Authorities, and Elastic Beanstalk.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Python Web Apps with Streamlit. The section links point to the parts of the book it draws on.