Custom Domains and SSL

A Bubble app comes automatically with on a bubbleapps.io subdomain, served over SSL. For instance, yourapp.bubbleapps.io. If you want to customize this and use your own domain name, you can do this in the Domain section of the Settings Tab.

Setting up a domain

Overview of the process

You can use a domain that your own with any registrar service (GoDaddy, Dreamhost, etc.) and configure it to point to Bubble. This operation is done in two steps:

  1. Set up the domain in Bubble
  2. Set up the DNS records in the registrar's interface to point to Bubble.

To set up the domain with your app, enter the domain in the input box in the Domain Tab and click 'Set up this domain'. Once you've done this, Bubble will provide the DNS records that you should enter on the registrar's end. Once you have the DNS from Bubble, you do not have any setting to modify in Bubble. You should instead head to the registrar service that you use to manage your domain and find the DNS section (or DNS Zone File). Once you have found that section, delete existing A records whose name is '' (empty) and 'www', and instead add the records as indicated above.

This process can be a little technical, and each registrar has a different interface. If you need help, we recommend reaching out to the registrar's customer support to get assistance to modify the records. Don't hesitate to ask for help on the forum as it's likely another user will have experience with the same registrar service.

After setting up the DNS records, the new settings need to propagate across the internet. This can take up to a 24 hours, but usually you should see some results after 2/4 hours. Bubble lets you check the success of the operation below the records, and you can check the process by clicking on the 'Check my settings' button. As soon as a domain is properly configured, all requests to yourapp.bubbleapps.io will automatically be redirected to yourdomain.com.

Setting up a subdomain

If you already are using a domain and would like to use a subdomain to point to your Bubble app (for instance, app.yourdomain.com), you can do this by simply using this as the domain in the input box. The DNS records will be different, but the process of entering them in your registrar service is similar as above.

Buying a domain with Google

Bubble offers the option to buy a domain with Google. If you use this option, the A records will be automatically set up, making the process simpler. To use this option, click on 'buy with Google and set up a domain' and search for the domain you want to buy in Google's interface. Note that Bubble doesn't get compensated for transactions that happen through this system.

Changing/removing a domain

If you need to change your domain, you should first remove the current domain. Clicking on 'delete this domain name' will terminate the connection between the application and the domain. Note that your domain will still point to Bubble's server until you remove the DNS records in the registrar service. A Bubble page will be displayed with a message. Once you have removed the domain, you can add a new domain as described above.

Note that if you remove a domain and want to use a appname.bubbleapps.io domain as initially, you may have to clear the browser cache, as the redirection is usually cached at the browser level.

SSL encryption (HTTPS)

If you are on a Personal Plan and higher, you can activate an SSL encryption on your custom domain. Note that all apps hosted on a bubbleapps.io subdomain also offer SSL support on all plans.

Using SSL encryption lets you guarantee to your users that no one can intercept traffic between them and your site, and protects their private information. SSL encryption also helps with search engine rankings, and can be required to use some features (access to geolocation on Chrome, using Stripe payments, etc.).

Setting up SSL

Once you have properly configured your domain and that Bubble has validated the A records, you can start the process. To have SSL activated on your site, enable the checkbox.

This change can take up to one hour to propagate.

Setting up email settings

Your application often sends emails to your users. It can be done through the Send Email action, but can also be done with the reset password action, etc. When your app does not use a custom domain, all emails will come from admin-no-reply@bubble.is.

Once you have set up your domain, you can customize this email. If the domain is yourdomain.com, you can change your admin email address to, for instance, hello@yourdomain.com, or contact@yourdomain.com, etc. Note that this email does not have to match the one you used to prove your site ownership for SSL encryption activation.

Bubble lets you use SendGrid to send emails with your own domain. SendGrid lets you get analytics about your email activity, spam reports, reputation management, etc.

Setting up SendGrid

To get started, you should create an account with Sendgrid. Once you've set up your account (and successfully set up a custom domain for your app), you can activate you Sendgrid connection.

First, you should get your API key from SendGrid (see Sendgrid documentation here). Enter it in the input box in the Domain tab, and click on 'Verify Sendgrid Key'. If your key is valid, an email will be sent to the account you use to sign up to Bubble as a validation. Once you have validated your SendGrid connection, you will be able to, optionally, enter a template ID (so that all emails coming from your app follow a template you design in SendGrid. You will also be able to modify the alias of the admin email. Note that there are some things you can do on the SendGrid's end to optimize email delivery, such as domain white-labeling, IP white-labeling, etc. We recommend you read SendGrid's documentation for more details about their service.

results matching ""

    No results matching ""