Domain, DNS and SSL certificate: how they work and what the owner must control
A domain is the website's address, DNS is the “phone book” that links this address to the server and email, and an SSL certificate enables a secure HTTPS connection and confirms that the visitor has reached your site. All three are the foundation without which neither the website, nor the app, nor corporate email works. For a business owner the key points are: the domain is registered to the company, you hold access to the registrar and DNS, renewal is automatic, and the certificate renews itself. Most cases of “the website disappeared” happen not because of hacking but because of an unpaid domain or a forgotten certificate.
Open the software development page
How domain, DNS, hosting and certificate fit together
When someone types a website address, the browser first asks the DNS system which server to go to. DNS answers with the server address, the browser connects to it, checks the SSL certificate and only then loads the page. If any link is broken — the domain was not renewed, DNS points to the wrong place, the certificate has expired — the website does not work for the visitor.
| Element | What it is | Where it lives |
|---|---|---|
| Domain | The website name, rented for a term and renewed | At a domain registrar |
| DNS | Records that link the name to the servers of the website, email and services | At the registrar or in a separate DNS service |
| Hosting or server | The computer where the website or app runs | At a hosting provider or in the cloud |
| SSL certificate | An electronic document for encryption and address verification | On the server or in a CDN, issued by a certificate authority |
These parts can be with one provider or with different ones. Separation is convenient: you can change hosting without touching the domain, or move DNS to a more reliable service.
Who should own the domain
The domain should be registered to the company that owns the business, not to the developer, the marketer or an employee. Whoever is listed as the domain administrator legally controls it: they can renew, transfer or let it lapse. If the relationship with a contractor ended badly or an employee left, getting the domain back can be long and difficult.
- the registrar account uses a corporate email, not a personal one;
- two-factor login to the registrar account is enabled;
- auto-renewal is on and the company's payment method is attached;
- the domain administrator's contact email works and is read;
- the administrator's details are verified if the registrar requires it for your domain zone.
It is enough to give a contractor access to DNS or a separate account with limited rights. Which access should stay with the client is described in detail in the guide who owns the code in custom development.
Types of DNS records
- A and AAAA — point to the website server's address (for IPv4 and IPv6);
- CNAME — makes one name an alias of another, for example for a subdomain on an external service;
- MX — specifies which servers receive the domain's email;
- TXT — service records: ownership verification for search engines and other services, as well as email protection with SPF, DKIM and DMARC;
- NS — specify which servers are responsible for your domain's DNS;
- CAA — allows certificates to be issued only by selected certificate authorities.
DNS changes do not spread across the network instantly: each record has a caching time, and the old value may live on for some users for a while. That is why moves are planned in advance and this time is reduced for the duration of the move.
Email on your domain: SPF, DKIM and DMARC
Corporate email on your own domain looks more trustworthy and does not depend on an employee. But for emails to be delivered and not land in spam, and for attackers not to easily send emails in your name, three records are set up in DNS:
- SPF — a list of servers allowed to send email on behalf of the domain;
- DKIM — a digital signature on emails that the recipient checks;
- DMARC — a rule for what to do with emails that fail the checks and where to send reports.
If the website sends emails — order confirmations, password recovery — the mailing service must also be listed in these records. Otherwise emails from the website will get lost.
SSL certificate and HTTPS
A certificate is needed so that data between the browser and the website travels encrypted and so that the browser can confirm the site is who it claims to be. Without one, browsers mark the site as not secure, forms with passwords and payments cannot be used, and search engines treat such a site less favourably.
| Type | What it confirms | When to choose |
|---|---|---|
| DV (domain validation) | That you control the domain | Most websites and apps; issued automatically, including for free |
| OV (organisation validation) | The domain and the existence of the company | When the organisation's name in the certificate matters |
| EV (extended validation) | The same with a more thorough document check | Rarely needed: browsers no longer highlight it in a special way |
Certificate validity periods are getting shorter over time, so manual renewal once a year is no longer reliable. The right practice is automatic issuance and renewal of the certificate on the server plus monitoring of its expiry with alerts.
Common problems and how to avoid them
- the domain was not renewed — the website, email and all services on it stop working; auto-renewal and reminders help;
- the certificate expired — the browser shows a warning and visitors leave; auto-renewal and monitoring help;
- registrar access is held by a former contractor or employee — registration to the company and a corporate email help;
- someone deleted or changed a DNS record — email or a subdomain disappeared; a saved copy of the records and limited permissions help;
- after a move some users still see the old website — reducing DNS caching time in advance helps;
- website emails go to spam — correct SPF, DKIM and DMARC help.
It is convenient to keep monitoring of domain and certificate expiry next to the other website checks — more in the guide web application monitoring.
Several domains and brand protection
Companies often register not one domain but several: in different domain zones, with common typos, in other languages. This protects against someone else taking a similar address and misleading customers. Additional domains do not duplicate the website but permanently redirect to the main address so that search engines see a single version.
For an international product, decide in advance how language versions will be organised: separate domains per country, subdomains or sections of one website. Each option has its own advantages for promotion and its own maintenance costs, and changing the scheme after launch costs more than choosing it from the start. It helps to keep all of the company's domains in one registrar account and in one list with renewal dates.
Checklist at launch or handover of a website
- The domain is registered to the company, and the registrar account uses a corporate email with two-factor login.
- Domain auto-renewal is on and the payment method is valid.
- An export of all DNS records is saved in the project documentation.
- The certificate is issued and renewed automatically, and its expiry is monitored.
- All addresses redirect to HTTPS, and the www and non-www versions redirect to one main address.
- SPF, DKIM and DMARC are set up for email, including the service through which the website sends emails.
- The contractor has only the permissions needed for the work, and a list of granted access is kept.
This list is part of the overall website acceptance. What else to check when a project is handed over is covered in the guide turnkey website development.
How we work with domains and certificates at JEEKSSHIRE 24
We recommend registering the domain, DNS, cloud and email services to the client's company and work in them with the access we are given. At launch we set up DNS records for the website and email, automatic issuance and renewal of certificates, redirection to HTTPS and expiry monitoring. We hand over the list of access and settings together with the product.
We name the timeline and cost after analysing the task. More on the web application development page; you can discuss a project on the custom software development page.
Frequently asked questions
What is a domain in plain words?
It is the website's name on the internet, rented from a registrar for a term and regularly renewed. The domain does not store the website itself; through DNS it only points to the server where the site is located.
Can a domain be transferred to another registrar?
Yes. Usually this requires a transfer code from the current registrar's account and confirmation by the domain administrator. During the transfer it is important to keep the DNS records so that the website and email keep working.
Is a paid SSL certificate needed?
For most websites and apps a free domain-validated certificate is enough: it encrypts the connection just as reliably. Paid options are needed if confirmation of the organisation in the certificate matters.
What happens if the domain is not renewed?
The website, email and all services on that domain stop working. After the grace period ends, the domain may be released and registered by others, so it is better to enable auto-renewal.
Why are DNS changes not visible immediately?
DNS answers are cached for the time specified in the record. Until the old record expires, some users see the previous value. Before a move this time is reduced in advance.
What is a subdomain?
It is a name inside your domain, for example a separate address for a blog, a personal account or an API. A subdomain is set up with a DNS record and can point to another server or service.
Do you need a DNS service separate from the registrar?
Not necessarily. A separate DNS service can be more convenient and reliable, offering attack protection and fast application of changes. The main thing is that access to it is also held by the company.
Why does the browser say the website is not secure?
Usually because the SSL certificate is missing or expired, it is misconfigured, or the page loads some files from an insecure address. Checking starts with the certificate's expiry date and the redirect to HTTPS.