What is a domain and how to connect a .lv domain to your website and email

A domain is an address, but without DNS records it leads nowhere. Here is how to register a .lv domain in your own name, which records your website and email need, and what to do if changes do not show up.

What is a domain and how to connect a .lv domain to your website and email

A domain is your address on the internet, for example company.lv. For it to work, the domain's DNS records must say where your website is (an A or CNAME record) and where your email goes (MX records). You get these values from your hosting and email providers. Records managed at NIC, the .lv registry, update every 10 minutes, but full propagation usually takes a couple of hours.

Domain, hosting and email

  • The domain is the address. It holds no files and no emails; it only points to where they are.
  • Hosting is the server where your website lives.
  • Email uses the domain after the "@", but messages are stored on the email provider's servers, which can be a completely different company from your hosting.

Your domain, hosting and email can sit with three different companies. DNS records are what connect them.

Who can register a .lv domain, and where

A .lv domain can be registered by any legal entity, any adult natural person and other organisations. There is no limit on how many domains one person can register.

You can register:

  1. directly with NIC, which runs the .lv registry;
  2. through an accredited registrar (NIC calls them "Reģistratūra"), for example a hosting company.

Registrars' services, terms and prices differ. NIC stresses the main point: a registrar must register the domain in your name, not its own.

How to choose a name

  • Short and easy to spell. Check that you can say it over the phone and the other person writes it down correctly.
  • With or without Latvian letters. A domain with Latvian diacritics (such as ā or š) is cheaper at NIC, but not every device or person can type it easily. Some companies register both versions and redirect one to the other.
  • No unnecessary characters. Hyphens and digits in the name make typos more likely.
  • Check that the name is free in the NIC or registrar search, and that it does not clash with another company's brand.

Registering directly with NIC

  1. Create an account in the NIC client system and confirm the link in the email within 48 hours.
  2. Enter the domain, the domain user, the administrative and technical contacts, and the DNS information. You can also add DNS later.
  3. Confirm the application. NIC reviews it within a day.
  4. The contract and invoice arrive by email. Once the domain is registered, you can use it.

NIC support: +371 67085858, [email protected].

How much a .lv domain costs

NIC prices when you register directly (price list amendments in force since 01.09.2023):

DomainPer year excl. VATPer year incl. 21% VAT (PVN)
Standard .lv€12.00€14.52
With Latvian letters (e.g. ā, š)€8.40€10.16

A standard domain can also be paid for several years ahead: 2 years €26.62, 3 years €37.51, 4 years €47.19, 5 years €55.66 (incl. VAT). The minimum period is 1 year.

The first invoice must be paid within 14 days. One month before the paid period ends, NIC sends an invoice for the next period. If it is not paid, NIC starts terminating the contract.

Registrars may charge different prices, because their price often includes their own service.

DNS records

NIC puts it simply: a registered domain without the correct technical records will not work. Your hosting and email providers give you the records.

RecordWhat it doesExample
AIPv4 address of the website server192.0.2.10
AAAAIPv6 address of the server2001:db8::10
CNAMEpoints a subdomain (www, blog) to another domain name; subdomains onlywww → company.lv
MXservers that handle your emailenter all the ones your provider gives
TXTnotes, e.g. email security (SPF, DKIM) and domain verificationv=spf1 …
NSname servers that hold the domain's recordsns1.example.lv
DSDNSSEC: lets resolvers check that DNS answers were not altered; works together with NSkey fingerprint

The examples use addresses reserved for documentation. Take the real values from your provider.

Two places to keep your records

Records at NIC

You enter A, CNAME, MX and TXT records directly in the NIC client system. The domain user, administrative contact or technical contact can change them, either in the system or by writing to [email protected]. This is convenient if you only have a few records.

NS pointing to your hosting or another DNS service

You enter your hosting or DNS provider's name servers (NS) at NIC and manage all other records there.

Important: at NIC, an NS record cannot be created together with A, AAAA, CNAME, MX or TXT records. If you point the domain to other name servers, every other record must be created with the provider those name servers belong to. A common mistake is moving NS to a new host and forgetting to create the email MX records there.

How to connect a website

  1. Get the records from your host. Usually this is the server IP address, sometimes a domain name for a CNAME record.
  2. Main domain. Create an A record with the name @ or an empty name field (depending on the system) and the value your host gave you. If your host also gives an IPv6 address, add an AAAA record.
  3. www version. Create a CNAME record with the name www and the value company.lv, or whatever your host specifies.
  4. SSL certificate. Once the domain points to the new server, turn on or check the certificate in your hosting so the site opens over https.
  5. Test. Open the site with www, without www, and over https.

How to connect email

  1. MX records. Enter all the MX records your email provider gives you, with the priorities they specify.
  2. SPF. A TXT record listing which servers may send email on behalf of your domain. A domain must have only one SPF record.
  3. DKIM and DMARC. DKIM is a digital signature on your emails. DMARC tells the receiving server what to do if the check fails and sends you reports.
  4. Mailboxes before MX. Create the mailboxes with the new provider before you change the MX records.

How long you have to wait

  • Records at NIC update every 10 minutes.
  • NIC's default TTL is 30 minutes (1,800 seconds).
  • Some internet providers and public DNS servers cache answers for longer, which is why NIC usually tells customers "a couple of hours".
  • If nothing has changed after 2 hours, check your records or clear the DNS cache on your computer.
  • If your DNS is with your host, the speed depends on that host and its TTL.

If a record has a long TTL

If a record's TTL is longer than 24 hours, NIC recommends:

  1. note the current TTL;
  2. lower it to 5 minutes;
  3. wait for the old TTL to pass;
  4. change the record;
  5. after about an hour, restore the TTL.

This is useful, for example, when moving a site to a new server, so the switch happens quickly.

Common mistakes

  • The domain is in the agency's name. Then, formally, the domain is not yours. To change the domain user, a signed request must be submitted to NIC or the registrar (with eParaksts, via the official e-address (e-adrese) or on paper).
  • An unpaid invoice. The invoice goes to an email address nobody reads, and NIC starts terminating the contract. Check which contact details are listed for the domain.
  • Two SPF records. All senders must be in one record.
  • No www record. The site opens without www but shows an error with www.
  • NS moved, records not. After changing NS, every record must be created in the new place, or your email stops working.

Help with your domain

We can register or move a domain into your name and set up the DNS records for your website and email. Read more in our website maintenance section.

Frequently asked questions

How much does a .lv domain cost?

Directly at NIC, a standard .lv domain costs €12.00 a year excl. VAT, or €14.52 incl. VAT; a domain with Latvian letters costs €8.40, or €10.16 incl. VAT. Registrars' prices may differ.

Can a domain be registered in a company's name?

Yes. A .lv domain can be registered by any legal entity, adult natural person or other organisation. If a registrar or agency does it for you, check that you are listed as the domain user.

How long do I have to wait after changing DNS?

At NIC, records update every 10 minutes and the default TTL is 30 minutes; changes usually propagate fully within a couple of hours.

Why does my site not open with www?

Usually there is no www record. Create a CNAME record for www that points to your main domain, or whatever record your host specifies.

Can I keep MX records at NIC but point NS to my host?

No. At NIC, an NS record cannot be combined with A, AAAA, CNAME, MX or TXT records. If NS points to your host, the MX records must be created there too.

How do I take over a domain that my developer registered?

To change the domain user, submit a signed request to NIC or the registrar with eParaksts, via e-adrese or on paper.

Sources