Home Getting Started

Getting Started

Best place to get everything right from the beginning with CoAlias
Ab Advany
By Ab Advany
5 articles

How does CoAlias work?

CoAlias is a service that helps you manage many domains and subdomains in a simple way. It’s useful if you need to give your users or clients custom addresses while keeping your main no-code app in one place. Watch how CoAlias works on Youtube 1. The Basics In a typical setup, you connect one domain—say, primarydomain.com—to your Bubble, Weweb, or Flutterflow project. That works if you only need one domain. However, if you want something like customer1.primarydomain.com or customer-domain.com to show the same app, you need a solution that can route multiple addresses to your single no-code platform. This is where CoAlias helps. 2. How It Works A. Primary Domain You have a domain linked to your no-code app (for example, primarydomain.com). B. CoAlias Setup - Sign up for CoAlias and add any new domain or subdomain you want to use. - Update DNS so these new domains point to CoAlias instead of pointing directly to your no-code app. C. Domain Routing - When someone visits the new domain, CoAlias fetches data from your no-code app (the primary domain) and shows it at the new address. - The user never sees your primary domain in the browser bar; they only see the custom address. D. Adding Domains - Log In to CoAlias - Access the CoAlias dashboard with your username and password. E. Add New Domain Click “Add Domain,” enter the domain (for example, client1.yoursite.com), and follow the steps shown. F. Update DNS Records - At your registrar (GoDaddy, Namecheap, etc.), point the domain to CoAlias. - Wait for the changes to spread across the internet (often done in under an hour). G. Confirm - Test the new address in your browser. If it shows your no-code app, you’re set. 4. Using the API If you run a SaaS, you can add or remove domains automatically by calling the CoAlias API. This is handy for user onboarding. Each time a new user signs up, you can create a subdomain or custom domain without any manual work. - Bubble Plugin: If you’re on Bubble, use the CoAlias plugin. - Other Platforms: Make standard HTTP requests to the CoAlias API from Weweb, Flutterflow, or anywhere else. See the documentation on api.coalias.com. 5. Benefits Simple Management: All extra domains are handled in one place. Brand Boost: Give each client a unique address while keeping your main no-code app. No Extra Code: CoAlias connects to your existing setup, so you don’t need extra development work. 6. Get Started Head over to CoAlias.com and create an account. Once you’ve added a domain, you’ll be on your way to offering custom addresses for your users or clients. It’s a direct approach that makes your no-code app stand out. Conclusion CoAlias acts as a link between your main no-code app and any extra domains you choose. It takes care of the behind-the-scenes work so that visitors only see the address you want them to see. If you need to offer more than one domain, CoAlias is a quick fix that keeps everything easy to manage.

Last updated on Jan 20, 2025

Add multiple domains to your no-code app

Getting your app online with its own domain can seem like a daunting task, but with CoAlias, it’s a breeze. Whether you’re looking to add a free subdomain or connect a domain you already own, CoAlias streamlines the process. Here’s a simple guide to get you started. Watch on youtube ​ ​Step 1: Creating a account When you log into CoAlias, you’ll be prompted to enter an app name and your app domain. ​ ​Step 2: Creating Your Domain Once you’ve created your account, CoAlias works quickly to create your domain. In a few seconds, your domain will be up and running. Now you’re presented with two options: adding a free subdomain or a domain that you own. ​ ​Step 3: Adding a Free Subdomain Choosing a free subdomain is advantageous as it allows for instant connection to your app. Simply name your subdomainand CoAlias will add it for you. If the name is already taken, CoAlias automatically generates a unique variant. ​ ​Step 4: Domain Configuration After your domain is added, you can immediately visit it and see your app’s welcome page. At this point, you can start customizing. For instance, if you want to redirect your domain to a no-code platform like Bubble, you can easily change the target settings. ​ ​Step 5: Routing and Customization To enhance user experience, you might want to load specific pages like the pricing page when someone visits your home domain. CoAlias’s domain configuration includes routing options to set this up, with changes taking effect in seconds. ​ You can also add a custom title, manage robot.txt files, and set up redirects. Every change is instantly reflected upon refresh. ​ ​Step 6: Adding More Domains With CoAlias, you can add multiple domains to your app. The process is as straightforward as adding the first one and includes automatic configuration for both www and non-www versions. ​ ​Step 7: DNS Settings and SSL Certificates Before your new domain is fully operational, you’ll need to update your DNS settings to point to CoAlias’s IP address. ​ ​Step 8: Advanced Settings and Rules For those who need more control, CoAlias offers advanced rules configurations. You can specify detailed behaviors for your domains directly through the platform. ​ ​Step 9: Monitoring and Upgrading CoAlias provides a usage tab where you can monitor domains, requests, API calls, and more. This data helps you understand how your domains are performing, and when you’re ready, upgrading your plan is just a click away. ​ ​Need Assistance? Our platform is designed to be user-friendly and efficient, but should you have any questions or need further assistance, our support team is ready to help. Just hit us up in the chat! ​ For detailed support and more advanced features, visit our website at https://coalias.com and explore all the possibilities that CoAlias has to offer for your online presence.

Last updated on Jan 20, 2025

Enfore Whitelabeled Domain

For Bubble users looking to redirect their app’s URL from the default Bubble domain to a custom whitelabeled domain, the following script can be easily added to your Bubble application. This script ensures that users accessing your app via the Bubble subdomain are redirected to your custom domain, unless a specific debug mode parameter is present in the URL. How the Script Works 1. Script Initialization: The script is executed when the document is fully loaded using the jQuery document.ready function. 2. Identify Current URL: The script checks the current URL of the page. 3. Host Check: It verifies if the current host contains .bubbleapps.io, which indicates that the user is accessing the app via the default Bubble domain. 4. Debug Mode Check: It checks if the URL contains the query parameter debug_mode=true. If this parameter is present, no redirection occurs, allowing developers to debug the app without redirection. 5. Redirection: If the current host contains .bubbleapps.io and debug_mode=true is not present, the script redirects the user to the custom whitelabeled domain. Here’s the script Adding the Script to Your Bubble App To add this script to your Bubble application, follow these steps: 1. Open Settings: Navigate to the Bubble editor and open the “Settings” tab. 2. SEO/Metatags: Select the “SEO/metatags” tab from the settings menu. 3. Script/meta tags in header or Script in the body: Add the script to the “Script/meta tags in header” field or the “Script in the body” field. Either location works, but placing it in the header ensures it runs as soon as possible. 4. Set the Whitelabeled Domain: Ensure that the data-whitelabeled-host attribute in the script is set to your whitelabeled domain (e.g., mydomain.com).

Last updated on Jan 20, 2025