A Bubble app comes automatically with 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.
You can use a domain that you own with any registrar service (NameCheap, Dreamhost, etc.) and configure it to point to Bubble. This operation is done in two steps:
- Set up the domain in Bubble
- 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. (Some registrars use '@' to refer to the empty domain.)
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 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.
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.
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.
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 an appname.bubbleapps.io domain as initially happens, you may have to clear the browser cache, as the redirection is usually cached at the browser level.
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.).
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. For customers using Cloudflare, SSL is mandatory.
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 email@example.com.
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, firstname.lastname@example.org, or email@example.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.
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 your 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, a validation email will be sent to the account you used to sign up for Bubble. 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 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.