Skip to main content
Bind domain to IP address
Last update:

Bind domain to IP address

For your information

We have released new version of DNS hosting (actual) and are discontinuing support and development of legacy version (legacy). Domains and resource records in DNS hosting (legacy) continue to work, we will warn you in advance if they are discontinued.

We recommend move domains and resource records to DNS hosting (actual) now to avoid disruption of sites when DNS hosting (legacy) goes down.

If you registered after January 30, only DNS hosting (actual) is available to you.

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.

  1. If you do not already have a zone (domain), create a zone (domain).
  2. Add A-record with the value of your server's IP address.
  3. If the domain has not yet been delegated to Selectel NS servers, delegate-domain.

1. Create zone (domain)

A zone in DNS hosting (actual), or a domain in DNS hosting (legacy), is a logical union of the resource records of a domain and its subdomains.

  1. In Control Panel, go to DNS.
  2. Make sure you create the zone in the correct project. The current project can be viewed on the left above the section menu.
  3. Press Add Zone.
  4. Enter the DNS zone name — the domain name with a period, for example, example.com..
  5. Optional: enter a comment — any additional information about the zone. The comment will only appear in DNS hosting.
  6. Press Create Zone. NS and SOA resource records will be automatically created in the zone.

2. Add A-Record

  1. In Control Panel, go to DNS.
  2. Open the zone page.
  3. Click Add Record Group. One group will store all resource records of a domain with the same type, such as all IP addresses of a domain in DNS balancing.
  4. Select the type of resource records in the group — A.
  5. Enter TTL or leave the default value. TTL — the time in seconds during which 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.
  6. 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.com. zone will create a group of records named example.com..
  7. Enter the value of the entry — the IP address of the server where the site is located.
  8. Optional: enter a comment — any additional information about the group, it will only appear in DNS hosting.
  9. Press Add.
  10. Wait for the added resource record group to propagate to the DNS servers. Propagation time can take up to 72 hours.
  11. Optional: check resource records. If resource records have not appeared on the DNS servers 72 hours after creation, create a ticket.

3. Delegate management of the domain

In order to transfer control of domain resource records to Selectel servers, the domain must be delegated — you must specify these servers in the domain's NS records.

  1. Go to the control panel of the domain registrar where your domain is registered.
  2. In the NS records, replace the values with Selectel's NS servers: a.ns.selectel.ru, b.ns.selectel.ru, c.ns.selectel.ru, d.ns.selectel.ru. Each server must be listed in a separate entry.