Bind domain to IP address
To open a site on a server with a specific IP address when you click on a domain name, you need to associate the domain name and IP address using an A-record.
-
If you don't already have a zone, create a zone.
-
Add an A-record with the value of your server's IP address.
-
If the domain is not already delegated to Servercore NS servers, delegate the domain management.
1. Create a zone
A zone is a logical union of the resource records of a domain and its subdomains.
-
In the control panel, in the top menu, click Products and select DNS hosting.
-
Make sure you are creating the zone in the correct project. The current project can be viewed on the left above the section menu.
-
In the Domain Zones section, click Add Zone.
-
Enter the DNS zone name - the name of the domain with a dot, such as
example.com. -
If you do not need to activate the zone immediately, uncheck the Activate domain zone checkbox. You will be able to activate the zone at any time.
-
Click Add. The NS and SOA resource records are automatically created in the zone.
2. Add A-record
-
In the control panel, in 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 the resource records of a domain with the same type. For example, a group of NS records contains four records that point to Servercore NS servers.
-
To create a resource record group for the primary domain (zone name), leave the Group Name field blank. For example, leaving the field blank for the
example``.comzone will create a group of records namedexample.com. -
Select the type of resource records in the group - A.
-
Enter 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 entries in the group.
-
Enter the value of the entry - the IP address of the server where the site 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. The propagation time can take up to 72 hours.
-
Optional: check resource records. If resource records do not appear on DNS servers 72 hours after creation, create a ticket.
3. Delegate domain management
In order to transfer control of domain resource records to Servercore servers, the domain must be delegated - you must 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 Servercore's NS servers:
a.ns.srv.cr,b.ns.servercore.ru,c.ns.servercore.ru,d.ns.servercore.ru. Each server must be specified in a separate entry. - Wait for the NS records to propagate to the DNS servers. Propagation can take up to 72 hours.