How to add Dynamic Subdomains to Bubble.io
Boosting Your SaaS Worth with User-Centric Dynamic Subdomains

Introduction
In this easy-to-understand article, we explore the advantages and how to apply dynamic subdomains in Bubble.io applications. Dynamic subdomains make a person's interaction with your website more unique, organize information online more effectively, and improve SEO methods. This piece will explain the main idea, provide fitting examples, instruct you about adding dynamic subdomains, and demonstrate a simple way to manage the process using a tool like CoAlias that doesn't need any coding. You will learn how to skillfully use dynamic subdomains in your Bubble.io application, helping it grow more effectively. So, prepare yourself to learn how to make your applications flexible and user-centric.
Purpose
After finishing this guide, you will know:
Understand the benefits of dynamic subdomains for Bubble.io applications.
Learn how to use a no-code proxy to set up dynamic subdomains.
Recognize the importance of SEO when utilizing dynamic subdomains.
Acquire the skills to create dynamic subdomains in your Bubble.io applications.
Understand the Concept of Dynamic Subdomains
Before moving to the actual setup, we need to first understand dynamic subdomains' basics and how they can be useful for your projects on Bubble.io. In simple words, dynamic subdomains serve different content based on who's accessing it or other factors. They help in better arranging your website, making the user's journey smoother, and providing relevant content. Let's visualise this with some examples. Take an online shopping site. It can use unique subdomains for each seller (like seller1.site.com) to highlight their specific products. Similarly, a site with memberships can provide each member with their personal subdomain (member1.site.com), with unique content and benefits. So, dynamic subdomains can help to improve the overall experience and customization of apps on Bubble.io.
The Importance of Dynamic Subdomains for SAAS Solutions
Dynamic subdomains play a crucial role in the world of SAAS (Software as a Service) solutions. They offer numerous benefits and functionalities that enhance flexibility, personalization, and user experience in SAAS platforms.
Personalization and Customer Engagement:
The use of dynamic subdomains enables SAAS companies to provide personalized experiences to their customers. Each subdomain can be assigned to individual customers or organizations, giving them a unique URL specific to their business. This fosters customer engagement and creates a sense of exclusivity. Customers can implement their own logos, branding, and color schemes on their subdomain, resulting in a personalized environment that represents their brand.
Security and Privacy Benefits:
Dynamic subdomains provide additional layers of security for SAAS platforms. By using different dynamic subdomains, individual security measures such as separate SSL certificates and access controls can be applied, ensuring better privacy for each customer.
Scalability and Independence:
The use of dynamic subdomains enables SAAS platforms to scale and optimize their infrastructure. Each customer or organization can be hosted on a separate dynamic subdomain, distributing the workload and server resources better, thus improving performance. It also makes it easier to add new customers or move customers without impacting other users. The independence offered by dynamic subdomains allows SAAS companies to adapt their services flexibly to the specific needs of each customer.
Integrations and Customizability:
Dynamic subdomains facilitate integration with external tools and services. Each customer can use different dynamic subdomains for integrations with payment gateways, CRM systems, or other software solutions. This empowers customers to create a seamless workflow and customize their SAAS platform to fit their specific business processes. The use of dynamic subdomains also enables easy migrations or experimenting with new features without disrupting the overall operation of the SAAS platform.
Using Dynamic Subdomains in Bubble Apps: Use Cases Inspired by WordPress and Slack
Explore the benefits of using unique subdomains in your Bubble apps, drawing inspiration from popular platforms like WordPress and Slack. Unique subdomains lead to a more tailored experience in teamwork apps like Slack and multiple company management systems (CMSs) like WordPress. These allow for personalized spaces, helping to keep the company's unique feel and making discussion and work together more orderly and efficient. Let's learn from these successful examples and bring these advantages to our Bubble apps.
Use Case 1: Dynamic Subdomains in Collaboration Platforms like Slack
App Type and Need:
A collaboration platform like Slack, used by teams and organizations for efficient communication, collaboration, and project management.
How Dynamic Subdomains Help:
Dynamic subdomains enhance collaboration platforms like Slack by providing personalized spaces for users. Each user or organization can have their own subdomain within the platform, like userA.slack.com or organizationA.slack.com. This enables individuals and organizations to differentiate their content, projects, and discussions while fostering a sense of ownership and individuality.
By utilizing dynamic subdomains, collaboration platforms like Slack empower users to create personalized spaces, maintain their brand identity, and streamline communication and collaboration processes. This feature enhances the overall user experience and facilitates efficient teamwork among individuals and organizations.
Use Case 2: Multi-organization CMS like WordPress.com
App Type and Need
A multi-organization content management system (CMS) similar to WordPress.com, designed to help different organizations or departments effectively manage their content, tasks, and teams. It requires separate subdomains to keep the projects, data, and teams of each organization distinct.
How Dynamic Subdomains Help
By utilizing dynamic subdomains in your Bubble app, you can provide each organization with its unique subdomain, like organizationA.wordpress.com. This enables seamless organization and allows each organization to maintain its brand identity within the content management system, similar to how WordPress.com allows its users to have their own subdomains. Dynamic subdomains assist in separating and organizing the content and functionalities specific to each organization, thereby enhancing the overall usability and management of the multi-organization CMS.
What solutions are there to add Dynamic Subdomains to Bubble apps?
There are several solutions available to add dynamic subdomains to Bubble apps, each with its own benefits and limitations. Let's explore some of these solutions:
1. DNS Management
One approach to enable dynamic subdomains in your Bubble app is through DNS management. By setting up a wildcard DNS record, you can direct all subdomains to a specific server or IP address, which will handle the dynamic routing within your Bubble app. This allows you to dynamically generate subdomains and handle them programmatically.
Benefits and limitations of using DNS management:
Enables dynamic subdomain creation by handling all subdomains with a wildcard record
Requires advanced DNS management knowledge and access to edit DNS records
May involve additional steps for configuring SSL certificates for each subdomain
Limited flexibility in routing and customization compared to other solutions
DNS management is a viable option if you have the technical expertise and access to edit DNS records. However, it may involve more complexity and limited flexibility compared to other solutions.
2. Utilizing Plugins
Bubble has a vibrant plugin ecosystem, offering various solutions for dynamic subdomains. Plugins like "Dynamic Subdomains" and "Bubble Page Subdomains" provide simple integrations that allow you to generate and handle dynamic subdomains within your Bubble app.
Benefits and limitations of utilizing plugins:
Offers a straightforward integration within the Bubble editor
Provides customizable options for generating and handling dynamic subdomains
Reliant on the functionality and support of the specific plugin utilized
May require additional setup and configuration depending on the chosen plugin
Using plugins provides a user-friendly solution for implementing dynamic subdomains, with customizable options available. However, it is essential to consider the reliability and support of the chosen plugin to ensure long-term functionality.
Carefully evaluate the benefits and limitations of each solution to choose the most suitable method for adding dynamic subdomains to your Bubble app. Whether you opt for DNS management or leveraging plugins, dynamically handling subdomains within your app can enhance the user experience and open up possibilities for customization and personalization.
Why choose CoAlias for Dynamic Subdomains?
URL Masking
URL masking allows you to hide the original domain of your website and display a different domain in the address bar. This is especially useful for dynamic subdomains as it provides a more memorable and relevant domain for users to access your content. With CoAlias, you can easily implement URL masking for your dynamic subdomains, ensuring a consistent and professional appearance.
SEO
Maintaining a strong SEO foundation is crucial for dynamic subdomains to rank well in search engines. CoAlias understands the importance of SEO and provides the necessary tools to optimize your dynamic subdomains. You can update sitemaps, meta data, canonical URLs, and robots.txt files to ensure search engines have the latest information about your app's structure and content. This helps increase search rankings, drive organic traffic, and improve user engagement.
Routing
Effective routing is essential for a seamless user experience with dynamic subdomains. CoAlias allows you to define navigation paths for each subdomain, ensuring users are directed to their personalized pages. By organizing your app's structure and enabling targeted content management, CoAlias enhances user engagement, navigation, and security.
SSL
Security is a top priority when it comes to dynamic subdomains. CoAlias offers SSL certificate management for each subdomain, ensuring data encryption and protection against unauthorized access. By automating SSL certificate generation and renewal, CoAlias maintains a secure environment for your users and builds trust in your platform.
CORS
Coordinating cross-origin resource sharing (CORS) is essential for seamless data access and interaction across different dynamic subdomains. CoAlias helps you configure CORS settings to strike a balance between cross-domain data access and security. By allowing specified domains to interact with your app's resources, CoAlias ensures a consistent and secure user experience across all dynamic subdomains.
By choosing CoAlias for dynamic subdomains, you benefit from features like URL masking, improved SEO, efficient routing, SSL certificate management, and proper CORS configuration. CoAlias simplifies the process of managing and integrating dynamic subdomains into your Bubble.io app, enhancing user experience and providing a secure online environment.
Setting up Dynamic Domains with CoAlias and Automating the Process
To set up a no-code proxy for your Bubble app using CoAlias, follow these straightforward steps, with more information available on coalias.com:
Step 1: How to Sign Up and Log In?
To begin using CoAlias, Visit coalias.com and sign up by entering your name and email, then click "Sign Up.”

You'll receive a 6-digit code in your email inbox. Input this code in the subsequent window and you'll be successfully logged in. With this quick and easy process, you're now ready to manage custom domains and enhance your app's user experience through the CoAlias platform.

Step 2: Add dynamic subdomains to your Bubble app
Add your custom domain
Connect Your Custom Domain
Add Your Bubble App: After signing up, log in to the CoAlias dashboard. Add your Bubble app by entering its URL in the red field. You can add your Custom Domain in the green field.

Set Up Domains: Once your Bubble app is added, you can connect your custom domains. Add the domains you want to link to your Bubble app and associate them with the right pages or content.
To connect your custom domain to CoAlias, just follow these easy steps: Click on the "Add Domain" plus button. A window will open where you can type in your domain name. Enter your domain name in the given field, and then click "Add." This will connect your custom domain with CoAlias, allowing easy integration and management on the platform, leading to a better user experience and domain routing abilities.

Step 3: Create a DNS record
Change DNS Settings: For every domain you've connected, modify the DNS settings in your domain provider. Link the domain's CNAME record to the CoAlias URL given for that domain.
Enjoy the Results: When your DNS settings are updated, your Bubble app can be accessed through the custom domains using CoAlias. The no-code proxy handles URL masking, SEO, routing, and SSL, making everything simpler.
Connecting your custom domain to your app is as easy as creating an A record and pointing the domain to the IP address 76.76.21.21. This step connects your domain to the app, so users can access it through the custom domain. By updating your domain provider's DNS settings, you ensure a smooth connection, improving your app's visibility and user experience.

By following these simple steps, you'll set up a no-code proxy with CoAlias for your Bubble app. This makes managing domains easy and offers a great experience for users across all linked domains.
Please keep in mind that you might need to wait for a 24 hours for the DNS changes to take effect. After the DNS update is completed, everything should work smoothly, and your app will be ready for users to enjoy.
Automate adding Dynamic Subdomains to your Bubble app
By automating dynamic subdomains additions to your Bubble app, you can efficiently manage your app and save time and resources, allowing you to focus on other aspects of app development. This streamlined process not only ensures users enjoy a seamless, personalized experience across different domains but also brings benefits like improved domain management, simplified redirection to specific pages, and a reduction in errors. To take advantage of these perks, consider implementing CoAlias, a no-code proxy solution designed to effortlessly add dynamic subdomains and boost the overall user experience.
Effortlessly integrate dynamic subdomains into your Bubble app by using the CoAlias plugin. Here's how to set it up:
Install the free plugin: Find the CoAlias plugin on Bubble and add it to your project.
Get your API key from CoAlias.com: Sign in to your CoAlias account.
Manage your site: Click 'Manage' under your site name.
API access: Navigate to the 'API' tab.
Retrieve the key: Get the API key provided for domain configuration.
Enter the API key: Fill in the API key in all the required fields in the Bubble plugin settings.
By following these simple steps, you can automate the management of dynamic subdomains for your Bubble app and enjoy a seamless, consistent user experience. Let CoAlias handle URL masking, SEO, routing, SSL, and CORS for you while you concentrate on app development.
Frequently Asked Questions
How can I detect what domain is visiting my Bubble app?
CoAlias provides a simple way to identify the subdomain that users are using to access your Bubble app. This allows you to offer a personalized experience based on their specific subdomain.
By utilizing the CoAlias plugin for Bubble, you gain access to important domain information. This data enables you to dynamically customize the content and functionality of your app based on the subdomain. Whether your goal is to display different branding, tailor features, or enhance the user experience, CoAlias simplifies the process.
CoAlias allows efficient management and optimization of your Bubble app for dynamic subdomains. By leveraging this capability, you can deliver a highly personalized experience that caters to the specific requirements of each subdomain, ultimately increasing user engagement and satisfaction.
How are SSL certificates added for dynamic subdomains?
CoAlias simplifies the process of handling SSL certificates for dynamic subdomains in your Bubble app, ensuring secure connections for all domains. With CoAlias, you no longer need to worry about the complexities of managing SSL certificates.
CoAlias automates the setup and management of SSL certificates for each dynamic subdomain, making the process hassle-free. This means that your app will have the necessary SSL encryption in place to establish secure connections with your users, regardless of the subdomain they are accessing.
Additionally, CoAlias takes care of configuring the necessary CORS settings for your dynamic subdomains. This ensures that requests and data transfers between different sources are secure and comply with browser security protocols.
With CoAlias, you can confidently provide a secure and trusted user experience across all your dynamic subdomains, without the need for manual SSL certificate handling.
Does CoAlias Automate SSL Handling for Dynamic Subdomains When Pointed to IP 76.76.21.21?
CoAlias streamlines SSL certificate management for dynamic subdomains in your Bubble app, providing secure connections. As evidenced on coalias.com, SSL certificates are automatically generated and handled for each dynamic subdomain when pointed to IP 76.76.21.21.
By setting up your dynamic subdomains in CoAlias and updating the DNS settings with the specified IP address (76.76.21.21), the SSL certificate process is initiated automatically. This eliminates the need for manual SSL configuration and ensures that all connections to your Bubble app, using custom domains, are secure and encrypted.
In summary, CoAlias simplifies SSL and domain management with its automated system, which eliminates additional steps. This streamlined process allows you to focus on your app, providing users with a secure experience and the advantages of domain-specific SSL protection.
Do I need to renew SSL certificates for dynamic subdomains?
CoAlias simplifies the management of SSL certificates for dynamic subdomains in your Bubble app, providing a hassle-free experience. According to information from coalias.com:
SSL certificate renewal: You can rely on CoAlias to handle the SSL certificate renewal process for your dynamic subdomains automatically. This means you don't have to worry about manually renewing SSL certificates. CoAlias ensures a seamless and continuous security experience by managing the renewal process behind the scenes. With CoAlias, you can focus on developing your app without the need for ongoing SSL maintenance.
In summary, CoAlias takes care of SSL certificate renewal for your dynamic subdomains, reducing the burden on your shoulders and allowing you to concentrate on other important aspects of your app development.
How many server requests can CoAlias handle for dynamic subdomains, and what does the Requests limit indicate?
CoAlias is capable of managing a substantial number of server requests, ensuring a seamless and reliable experience for users accessing your app through dynamic subdomains. Its robust infrastructure is designed to handle a high volume of domains without compromising performance or stability. The Requests limit refers to the maximum number of server requests your web app can handle per month, encompassing API calls, database queries, and other user interactions within your web app.
The specific number of requests depends on the plan you choose. The Lite plan offers a monthly limit of 5k requests, the Starter plan provides 20k requests, the Plus plan allows for 200k requests, and the Pro plan accommodates 1000k requests monthly.
In summary, CoAlias ensures a worry-free experience by seamlessly managing SSL certificate renewals and efficiently handling various requests, offering a user-friendly environment for both you and your Bubble app users.
How to configure the DNS of a dynamic subdomain?
To configure the DNS of a dynamic subdomain and point it to the correct IP address, you can follow these straightforward steps:
Log in to your domain provider's account.
Locate the DNS settings, usually found under "Advanced" or "DNS Management."
Set up the dynamic subdomain:
Create a new CNAME record for the desired subdomain (e.g., "dynamic").
In the target field, enter the domain provided by CoAlias for your dynamic subdomain.
Save the changes or update the DNS settings.
Please note that DNS updates may take up to 48 hours to propagate fully. You can check the status of your DNS configuration using a tool like **https://www.whatsmydns.net/**.
By following these steps, you will be able to configure the DNS settings of your dynamic subdomain effectively and direct it to the designated IP address.
How to direct a custom domain or dynamic subdomain to a specific page in your Bubble app?
To direct a custom domain or dynamic subdomain to a specific page in your Bubble app, you can follow these straightforward steps:
In your app's database, add a "domain" field to the "landingpage" entity.
Create a "Get My Landingpage" group on the "client" page.
Design the page by utilizing "Get My Landingpage's Landingpage" data.
By implementing these steps, you can establish a connection between custom domains or dynamic subdomains and the desired page within your Bubble app. This ensures a pleasant and personalized user experience.
Please remember that these instructions are specific to connecting domains and subdomains to pages in a Bubble app. Adjustments may be required based on your specific app structure or requirements.
How much does CoAlias cost for managing dynamic subdomains?
The pricing for using CoAlias to manage dynamic subdomains in your Bubble app can vary based on the available features and subscription plans. For the most up-to-date pricing information, it's recommended to visit **https://coalias.com/pricing** directly or reach out to their support team.
Please keep in mind that CoAlias offers different pricing options to suit various needs, so it's advisable to explore their website or contact their support for detailed information about the cost of managing dynamic subdomains in your Bubble app.
Can you assist me in setting up CoAlias for my Bubble app's dynamic subdomains?
If you need assistance with setting up CoAlias for your Bubble app's dynamic subdomains, our dedicated support team is here to help. We understand that you may have questions about choosing the appropriate plan, configuring custom domains, or adjusting DNS settings.
Our knowledgeable experts can not only guide you through the setup process but also provide valuable insights and support on various aspects. These include URL masking, search engine optimization (SEO), routing, SSL certificate management, and cross-origin resource sharing (CORS). By leveraging our expertise, you can ensure that your Bubble app establishes and maintains a seamless connection with your dynamic subdomains.
How can I access support for managing dynamic subdomains with CoAlias?
While setting up CoAlias for managing dynamic subdomains in your Bubble app is typically straightforward, you may occasionally require personalized assistance or have specific inquiries. The CoAlias support team is readily available to assist you through email or chat channels. Simply reach out to us at [email protected] or use the chat feature on our website, and we will be more than happy to provide the support you need.