Connect a domain to an IP address
To ensure that a domain name resolves to a website hosted on a server with a specific IP address, you need to link the domain name and the IP address using an A record.
-
If you do not have a zone yet, create a zone.
-
Add an A record with your server's IP address.
-
If the domain is not yet delegated to Servercore NS servers, delegate domain management.
1. Create a zone
A zone is a logical grouping of resource records for a domain and its subdomains.
-
In the Control panel, on the top menu, click Products and select DNS hosting.
-
Ensure you are creating the zone in the correct project. You can view the current project above the section menu on the left.
-
In the Domain zones section, click Add zone.
-
Enter the DNS zone name — the domain name with a dot, for example
example.com. -
If you do not need to activate the zone immediately, uncheck the Activate domain zone checkbox. You can activate the zone at any time.
-
Click Add. NS and SOA resource records will be created automatically in the zone.
2. Add an A record
-
In the Control panel, on the top menu, click Products and select DNS hosting.
-
In the Domain zones section, open the zone page.
-
Click Add. In DNS hosting, resource records are stored in groups—one group contains all resource records of a domain with the same type. For example, the NS record group contains four records pointing to the NS-servers of Servercore.
-
To create a resource record group for the primary domain (zone name), leave the Group name field empty. For example, if you leave the field empty for the
example.com.zone, a record group namedexample.com. -
Select the type of resource records in the group — A.
-
Enter the TTL or leave the default value. TTL is the time in seconds that a resource entry in the NS server cache is considered up to date and does not need to be re-cached. The TTL of a group applies to all resource records in the group.
-
Enter the record value — the IP address of the server where the website is located.
-
Optional: enter a comment — any additional information about the group. The comment will be displayed only in DNS hosting.
-
Click Add.
-
Wait for the added resource record group to propagate to the DNS servers. Propagation may take up to 72 hours.
-
Optional: check the resource records. If the resource records do not appear on the DNS servers after 72 hours, create a ticket.
3. Delegate domain management
To transfer the management of domain resource records to Servercore servers, you must delegate the domain — specify these servers in the domain's NS records.
- Go to the control panel of the domain registrar where your domain is registered.
- In the NS records, replace the values with the Servercore NS servers:
a.ns.srv.cr,b.ns.srv.cr,c.ns.srv.cr,d.ns.srv.cr. Each server must be specified in a separate record.</g°. - Wait for the NS records to propagate to the DNS servers. Propagation may take up to 72 hours.