Configure Domain
Configure your own domain for the environment
Last updated
Was this helpful?
Configure your own domain for the environment
Last updated
Was this helpful?
When you create an environment, it comes with a default fireapis domain (e.g., yourproduct.fireapis.com). In this section, you can configure your own domain, such as devapi.yourproduct.com. With this configuration, all the requests you make can be routed through the domain you've configured for that environment.
Even if you have your own domain, the default domain that comes with your environment (e.g., your product.fireapis.com) can still be used.
Steps for Configuring a Custom Domain:
Click the three dots on the left side of your selected environment under the environment list.
You will now see the "Configure Domain" popup.
In popup, enter your own domain, which must follow the format of a subdomain ( e.g., api.yourproduct.com).
Do not use your main domain (e.g., yourproduct.com or fireapis.com). Always use a format like api.yourproduct.com or *.yourproduct.com, where * represents a custom name. For best practices on domain configuration for your backend, refer to our guidelines.
Once you save your configuration, Now few things needs to done on our side in your DNS provider. Steps will be also be there in the Popup UI itself refer below image.
Open your DNS provider (e.g., Cloudfare, Route53, GoDaddy, Namecheap, etc.) and add the CNAME value with the name and values provided in the popup UI exactly in your DNS provider.
After you add the CNAME record, it may take anywhere from a few minutes to a few hours for the changes to take effect. During this time, you will see "NOT VERIFIED" status in the Domain popup.
You will have to obtain an SSL certificate for your own domain. The default sub domain (e.g., yourproduct.fireapis.com) will automatically come with SSL certificates provided by Fireapis.
Please note that our Server throws errors for the http:// protocol. Please use https:// protocol where again https:// protocol always needs a SSL certificates. You can lean more in getting SSL certificates.
To verify that your domain configuration is working correctly, manually click the " Verify Connectivity" button in the popup UI.
If the configuration is successful, then the UI will show "VERIFIED" status in your domain popup UI.