Configure Domain
Configure your own domain for environment
Last updated
Configure your own domain for environment
Last updated
When you created a environment that comes with fireapis domain by default, for ex: yourproduct.fireapis.com, now using this section you can configure your own domain like for ex: devapi.yourproduct.com. With that configuration all the requests you make can be made through your own domain configured in that environment
Even if you have your own domain, the domain which comes with your environment by default(ex: your product.fireapis.com) can be also be used.
Steps for configuring a custom domain:
Click the three dots on left side of your selected environment under environment list.
Now you can see Configure domain popup
In popup, give your own domain which needs to be in a format of subdomain, For ex: api.yourproduct.com.
Dont use the your domain like for ex: yourproduct.com or fireapis.com, always try to use api.yourproduct.com or *.yourproduct.com , * represent you can place your custom name. Read more about the best pratices on domain configuration for your backend.
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 (Cloudfare, Route53, GoDaddy, Namecheap, etc.,). Add the CNAME value with the name and values that is provided in popup ui exactly in your DNS provider.
Once your have added, it can take few minutes to few hours(sometimes). Till that you will be seeing NOT VERIFIED in your Domain popup.
You wil have to get the SSL certificate for your own domain. For default sub domain for ex: yourproduct.fireapis.com will come with SSL certificates provided by Fireapis.
Our Server throws errors for http:// protocol. Please use https:// protocol where agian https:// protocol always needs a SSL certificates. You can lean more in getting SSL certificates.
To verify you domain configuration is working fine, we have to do it manually by clicking the Verify Connectivity button thats in popup UI,
If its Verified, then UI will show VERIFIED status in your domain popup ui.