DNS and SSL After Launching a New Website: A Setup Checklist
A new site needs two things to work properly: DNS records that point your domain to the right place, and an SSL certificate for HTTPS. Here is the order to do them in.
10 min readUpdated Nov 24, 2026By XPASS Editorial Team

Launching a new website feels like the finish line, but there is a short technical job that decides whether visitors can actually reach it and trust it: setting up DNS and SSL. DNS tells the internet which server answers for your domain name. SSL, more precisely a TLS certificate, lets browsers connect over HTTPS and show that the connection is encrypted and that the site belongs to the domain in the address bar.
Neither task is hard, but the order matters, small typos cause confusing errors, and some changes take time to spread. This guide gives you a checklist you can follow after the site is built: what to collect before you start, which DNS records you are likely to need, how to add an SSL certificate and force HTTPS, how to add email records without breaking the website, and how to test everything before announcing the launch.
What DNS and SSL each do
The Domain Name System, described in RFC 1034, is the phone book of the internet. When someone types your domain, their device asks a chain of DNS servers for the address that belongs to it. Your domain's DNS records are the entries in that phone book. If a record is missing or wrong, visitors see an error page or reach somewhere else entirely, no matter how good the website itself is.
An SSL certificate is a signed file that links a domain name to a public key. Browsers trust certificates issued by certificate authorities they recognise, and the format is based on the X.509 profile in RFC 5280. When the certificate matches the domain and has not expired, the browser sets up an encrypted HTTPS connection and shows its secure indicator. Without it, many browsers warn visitors that the site is not secure, and forms that collect personal data are exposed on the network.
Think of it this way: DNS gets visitors to the right door, and SSL makes sure the door is the right one and the conversation inside cannot be overheard.

Before you start: what to collect
Gather these details first so you are not guessing halfway through:
- The domain and where its DNS is managed. This is either the registrar where you bought the domain, your hosting provider, or a separate DNS service. The place that holds the active name servers is where you edit records.
- The values your host gives you. Usually an IPv4 address for an A record, sometimes an IPv6 address for an AAAA record, or a host name to use in a CNAME. Copy them exactly.
- A decision on the main address. Choose whether visitors should land on the bare domain or on the www version, and plan to redirect the other one to it.
- Email plans. If you use a business mailbox on the same domain, note the MX and text records the email provider needs, so you add them without deleting website records.
- Access. Make sure you can sign in to the registrar or DNS panel and that the account email is one you can read.
If you are not sure who runs your DNS, look at the name server entries shown in your domain control panel. They tell you which service is authoritative, and editing records anywhere else will have no effect.
Step 1: Point the domain with DNS records
The records you will most likely use
| Record | What it does | Typical use on a new site |
|---|---|---|
| A | Maps a name to an IPv4 address | Bare domain and www pointing to the web server |
| AAAA | Maps a name to an IPv6 address | Same as A, if your host provides IPv6 |
| CNAME | Makes one name an alias of another | www pointing to a host name given by your platform |
| MX | Says which servers receive email for the domain | Business email |
| TXT | Holds text values | Domain verification, SPF, DKIM and DMARC |
How to add them
- Open the DNS management page for the domain.
- Remove or replace any placeholder records from the registrar's parking page that would conflict with your site, such as an old A record. Note the original values first in case you need to go back.
- Add the A record for the bare domain, shown as @ in many panels, with the address your host gave you. Add an AAAA record only if you were given an IPv6 address.
- Add the www record. If your host gave a host name, create a CNAME for www pointing to it. If it gave an address, an A record works too.
- Save, and note the TTL. A lower TTL, for example a few minutes, makes corrections spread faster while you are still testing. After the site is stable you can raise it.
- Leave existing MX and TXT records for email alone unless you know they are wrong.
Remember that a name with a CNAME record should not have other records at the same name. For the bare domain, use A and AAAA records unless your DNS provider offers a documented alias feature for it.
Wait, then verify
DNS answers are cached, so changes do not appear everywhere at once. Often you will see them in minutes, and sometimes it takes longer. Test from a phone on mobile data as well as your office network, and use a lookup tool to ask for the A record directly. If you see the old value, wait for the old TTL to pass before changing anything else. Repeated edits during propagation are the most common source of confusion.
Step 2: Install an SSL certificate
Once the domain opens your site over plain HTTP, you can add the certificate.
- Choose the certificate type. A domain validated certificate proves control of the domain and is enough for most small business sites. Organisation or extended validation types add checks on the business identity. A wildcard certificate covers many subdomains under one name. The SSL page shows what a provider can offer, and the plan page lists what is included.
- Generate a request or use your host's tool. Many hosting panels create the key and request for you. If you do it by hand, keep the private key secret and never email it.
- Prove control of the domain. The authority may ask you to place a file at a given web address, add a DNS record, or answer an email at an address on the domain. This is why DNS must already work.
- Install the certificate and any intermediate certificates. Missing intermediates cause errors on some devices even when the main certificate is valid.
- Turn on HTTPS and redirect HTTP. Set the site address to https in your platform settings, and add a permanent redirect so http requests land on the https version of the same page.
- Check the renewal method. Certificates expire. Find out whether yours renews automatically through a protocol such as ACME, or whether you must renew by hand, and write the date in a calendar either way.
Step 3: Add email records without breaking the site
If you use a business mailbox at your domain, add the provider's MX records and the text records it asks for. SPF, DKIM and DMARC are published as TXT records and help receiving servers check that mail claiming to come from your domain really does. Add them in the same DNS panel, keep each record as a separate entry, and do not remove the website records while you work. If you plan a mailbox, see the business email page for what the service provides. Send a test message to and from an outside address after the change.
Step 4: Test everything before you announce
Use this list in a private browser window, then on a phone:
- The bare domain and the www address both open the site, and one redirects to the other.
- http addresses redirect to https and the padlock appears with no warning.
- The certificate name matches the domain and the expiry date is in the future.
- Pages do not show mixed content, meaning images, scripts or fonts still requested over http.
- Forms, the shopping cart and the checkout work over https.
- Email sent to your domain arrives, and mail you send is not marked as suspicious.
- The site opens on mobile data and on a different network from the one you built it on.
A plain example
A small training company launches its site on a new domain. The owner copies the IPv4 address from the hosting panel and creates an A record for the bare domain and a CNAME for www. After ten minutes the site loads in a browser, though it shows a not secure label. She requests a domain validated certificate in the hosting panel, which checks control through a file on the site, and the panel installs it. She switches the site address to https, enables the redirect, then adds the email provider's MX and TXT records. Her test shows one product image still loading over http, so she edits that image address and the padlock stays clean on every page.
Limits and what to watch for
- Propagation takes time. Do not conclude that a change failed after a few minutes. Check the TTL and wait.
- Editing the wrong DNS panel. If name servers point to another provider, your changes elsewhere do nothing.
- Deleting email records by accident. When replacing records, change only the web entries and keep MX and TXT intact.
- Expired certificates. An expired certificate produces a prominent browser warning. Track renewal dates, and see first-year and renewal costs for planning the yearly budget.
- Mixed content and hard-coded addresses. After moving to https, update links and media that still use http.
- Certificates and subdomains. A certificate for the bare domain does not automatically cover every subdomain. A multilingual site with language subdomains needs coverage for each, as discussed in building a multilingual website.
- No certificate makes a site honest. HTTPS protects the connection and confirms the domain, not the quality of the business. Keep the content accurate.
- DNSSEC and other extras. DNS security extensions described in RFC 4033 can add protection but need careful setup. Enable them only when your provider documents the steps.
A short post-launch routine
In the first week, check the site daily from outside your network, watch for certificate or DNS warnings, and read the server error logs if your host provides them. Once a month, confirm renewal dates for the domain and the certificate, and review whether the records still match the services you actually use. Remove records for services you stopped using, because old records can point to systems you no longer control. If you came from social selling, the article on moving from social selling to your own website covers the wider launch plan.
Summary
Set up DNS first so your domain reaches the right server, then add the SSL certificate and force HTTPS, then add email records carefully, and finally test from outside your network. Keep a note of every value you change, wait for caches to expire before editing again, and put renewal dates in a calendar. When you are ready to register or manage a domain for your site, the domains page is a good place to start.
Frequently asked questions
Which should I set up first, DNS or SSL?
DNS first. A certificate authority usually has to confirm that you control the domain, and that check depends on the domain already pointing to the right place. Once the site loads over plain HTTP at your domain, install the certificate and switch on HTTPS.
Why does my domain still show the old page or an error after I changed DNS?
DNS answers are cached for a period set by each record's TTL, so some visitors keep seeing the old answer until the cache expires. Changes often show within minutes but can take longer, so wait and test from more than one network before changing things again.
Do I need both an A record and a CNAME for the same name?
No. A name that has a CNAME should not carry other records, so use an A record, and AAAA if you have IPv6, for the bare domain, and a CNAME or A record for the www name, depending on what your host tells you.
What should I check after turning on HTTPS?
Open the site in a fresh browser window, confirm the padlock appears with no warning, check that http addresses redirect to https, and look for pages that still load images or scripts over http, which cause mixed content warnings.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Start your website the right way
Register a domain, add SSL and set up business email from one place.
.com registration from $18.81 for the first year
Start with a domainKeep reading

Website Guides
Moving From Social Selling to Your Own Website: What Changes
Social media is a fine place to start selling, but a website you own gives you control, trust and a durable address. Here is what changes and how to move step by step.
10 min read

Website Guides
Company Website Costs: First Year vs Renewal Years
The first-year bill for a company website is not the same as what you pay every year after. Learn which costs are one-off, which recur, and how to budget for both.
10 min read

Website Guides
How to Build a Multilingual Website to Sell Overseas
Translating a site is only part of selling abroad. This guide covers choosing languages, structuring URLs, localizing details and setting up the technical basics.
11 min read