How to Add Domains
Validated on 03 July 2023 - Last edited on 03 July 2023
Adding a domain you own to your FibaCloud account lets you manage the domains DNS records with the control panel and API.
Adding a domain to your project allows you to assign the domain to Instances, load balancers, and other resources. You can only add domains with known top-level domains (TLDs) publicly recognized by ICANN.
Add a Domain Using Automation
How to add a domain using the FibaCloud REST API
To add a domain using the FibaCloud API, follow these steps:
- Submit a GET request for get product IDs.
curl --request GET \
--url https://cloud.fibacloud.com/api/dns \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json'
- Take note of the service id of your DNS Service.
- Submit POST request with parameters.
curl --request POST \
--url https://cloud.fibacloud.com/api/service/{service_id}/dns/ \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json' \
--data '{
"name": "example.com"
}'
{
"info": [
"Domain zone example.com was created successfully."
]
}
Add a Domain Using the Control Panel
Open the management page of your DNS Service from your Control Panel.
This page takes you to the management interface of your DNS Service. From this page you can manage existing domains or add new domains.
To add a new domain name, click the add domain button. Enter your domain into the domain field and primary IP address, then click Submit. If your domain contains non-ASCII characters (such as accents or other Unicode characters), you must convert it to Punycode before adding it.
FibaCloud terms of service prohibit adding country code top-level domains (ccTLDs) from OFAC-sanctioned countries.
The system performs a DNS lookup to see if the domain has already been added to FibaCloud. If it has, you will receive a message that says Data domain example.com
: Name already exists. If the domain has not been previously added to FibaCloud DNS service, it will be added.
Domains you have added are listed on the DNS Overview page.
Once you have added a domain, click its name to view and modify its DNS records.
You can add records in the Add New Record section. The Records section lists any existing records for the domain, and you can modify or delete records from the records Actions menu.