Setting up SSL is one of the first jobs to finish before you call a website live, but it often gets tangled up with DNS changes, hosting panels, redirects, and browser warnings. This guide gives you a reusable checklist for getting HTTPS working on a new site, choosing a practical certificate path, and fixing the errors that show up most often after launch, migration, renewal, or platform changes.
Overview
An SSL certificate enables HTTPS, which encrypts traffic between the visitor and your website. In practice, most site owners use “SSL” and “TLS” interchangeably. The important part is simple: your site should load securely over https://, your certificate should match your domain, and every major version of your site should redirect cleanly from HTTP to HTTPS.
For a new website, SSL setup usually depends on three moving parts working together:
- Your domain and DNS, which tell the internet where your site lives.
- Your hosting or platform, which serves the site and often provisions the certificate.
- Your application or CMS, which must use secure URLs and avoid loading insecure assets.
If any of those layers are misaligned, you can end up with familiar problems: the certificate does not validate, the browser says the connection is not private, the site loops during redirect, or the page loads with a mixed content error.
Before you start, keep this baseline checklist in mind:
- Confirm the site resolves to the correct host or platform.
- Decide whether you need a certificate for only the root domain, only
www, both, or additional subdomains. - Make sure DNS changes have propagated before troubleshooting certificate issuance too aggressively.
- Install or enable the certificate at the hosting or platform layer.
- Force HTTPS only after the certificate is valid and the site loads correctly over HTTPS.
- Update internal URLs, application settings, CDN settings, and asset links to avoid mixed content.
If you are still connecting a domain to a host, handle that first. A certificate cannot validate cleanly if the domain is pointing to the wrong destination. For that part, see How to Point a Domain to Your Hosting Provider, Website Builder, or Server. If you need a refresher on record types, DNS Records Explained: A, AAAA, CNAME, MX, TXT, NS, and SRV is a useful companion.
Checklist by scenario
Use the scenario below that most closely matches how your new website is built. The goal is not to memorize provider-specific steps, but to follow the right order of operations.
Scenario 1: You are using shared hosting or managed hosting with built-in free SSL
This is the easiest path for most new sites. Many hosting dashboards can issue and renew certificates automatically once the domain points to the hosting account.
- Point the domain correctly. Verify the A record, AAAA record, or nameservers match your host’s instructions.
- Wait for DNS to settle. If you changed DNS recently, give it time. For timing expectations, read DNS Propagation Time Guide: How Long Changes Take and How to Check.
- Enable SSL in the hosting panel. Look for a certificate or security section that can issue a certificate for your domain.
- Include both root and www if needed. If visitors may use both
example.comandwww.example.com, the certificate and redirects should cover both. - Test HTTPS directly. Visit
https://yourdomain.combefore forcing redirects. - Enable HTTPS redirect. Once the certificate works, turn on a 301 redirect from HTTP to HTTPS.
- Update the CMS or app URL. In platforms like WordPress, confirm the site URL and home URL use
https. - Check for mixed content. Open browser developer tools and inspect blocked assets if the page is only partially secure.
If you are still comparing hosts and want a simpler starting point, see Best Web Hosting for Beginners Compared and Shared Hosting vs VPS vs Cloud Hosting: Which One Should You Choose?.
Scenario 2: You are using a website builder or managed platform
Website builders often automate SSL, but the common failure point is DNS mismatch. The platform cannot issue or attach the certificate if the domain is only partially connected.
- Follow the platform’s domain connection method exactly. Some require a CNAME for
wwwand A records for the root. Others require nameserver changes. - Confirm whether SSL is automatic. Most modern platforms provision certificates after DNS validation, but timing can vary.
- Do not add overlapping DNS records. Extra A, AAAA, or CNAME records can break validation or send traffic to the wrong place.
- Wait until the platform marks the domain as connected. Only then test HTTPS and enable any “force secure” setting.
- Verify redirects. Make sure root to www, or www to root, is consistent and does not bounce visitors between versions.
If you are pointing a domain to a builder for the first time, revisit How to Point a Domain to Your Hosting Provider, Website Builder, or Server.
Scenario 3: You are installing SSL on a VPS or cloud server
This path gives you more control, but also more room for small mistakes. You are usually responsible for web server configuration, firewall settings, certificate renewal automation, and redirect logic.
- Confirm DNS first. The domain should resolve to the server’s public IP address.
- Open ports 80 and 443. Certificate issuance and HTTPS traffic commonly require them.
- Install the certificate with a trusted method. Many administrators use automated tooling provided by the operating system, web server ecosystem, or hosting image.
- Configure the web server blocks or virtual hosts. One should handle HTTP and redirect to HTTPS; another should serve HTTPS with the certificate and key paths.
- Include the full certificate chain if required. Incomplete chain configuration can cause trust issues in some clients.
- Test renewal automation. Do not assume renewal is working because the first issuance succeeded.
- Reload the web server cleanly. Validate configuration syntax before restarting services.
For new infrastructure decisions, it also helps to understand the tradeoffs in Shared Hosting vs VPS vs Cloud Hosting.
Scenario 4: You migrated a website and HTTPS broke afterward
Migrations often leave behind old URLs, stale redirects, or certificates still attached to the previous host.
- Verify the domain now points to the new environment.
- Check whether the new host issued its own certificate. If not, enable or install one before changing redirects.
- Inspect old hard-coded URLs. Images, scripts, stylesheets, and canonical tags may still reference
httpor the old domain. - Review redirect rules. Remove overlapping redirects in the app, .htaccess, Nginx config, CDN, or platform dashboard.
- Retest login flows, checkout flows, and forms. These often surface certificate or mixed content problems first.
If you are planning a move, save Website Migration Checklist: Move Hosting Providers With Minimal Downtime for later.
Scenario 5: You need SSL for a custom domain email stack too
Website SSL and email DNS are different tasks, but people often change them together during launch. That can create confusion when the website works but mail fails, or vice versa.
- Keep website SSL and mail DNS separate in your mind. Your site certificate does not replace MX, SPF, DKIM, or DMARC records.
- Double-check email records after DNS edits. A rushed cleanup can remove or overwrite mail-related records.
- Test both services independently. Confirm the website loads over HTTPS and email still sends and receives.
For email-specific records, see How to Set Up MX, SPF, DKIM, and DMARC for a Custom Domain Email and Best Email Hosting for Custom Domains Compared.
What to double-check
Once SSL appears to be working, spend a few extra minutes checking the parts most likely to be missed. This is where many “it works on my machine” launches fall apart.
1. The certificate matches the hostname visitors actually use
Check all intended versions:
https://example.comhttps://www.example.com- Any subdomain you plan to use publicly, such as
app.example.comorshop.example.com
A certificate that covers only one version can still produce browser errors on another.
2. DNS is not split across old and new providers
If your nameservers are with one provider but you edited records somewhere else, your changes may have had no effect. This is a common reason certificate validation seems stuck. Know whether you are managing full nameservers or only individual records. If that distinction still feels fuzzy, a review of nameservers and DNS basics can save time before deeper troubleshooting.
3. Redirects happen once, not in loops
Test these paths:
- HTTP to HTTPS
- www to root, or root to www
- Old domain to new domain if you recently rebranded
You want a predictable chain, ideally a single clean redirect. Multiple rules across CDN, host, and application layers often create loops.
4. Internal settings use HTTPS
Check your CMS base URL, asset URLs, canonical tags, sitemaps, and any environment variables that define the application URL. A valid certificate alone does not fix links generated by the app.
5. Mixed content is fully resolved
A mixed content error happens when the page loads over HTTPS but one or more assets still load over HTTP. Common offenders include:
- Theme images and background images
- JavaScript libraries referenced from old templates
- CSS files or fonts linked with absolute
http://URLs - Embedded videos, maps, or third-party widgets
Use your browser’s developer tools console and network panel to identify blocked requests. Then update the source URL to https://, a protocol-relative or relative path where appropriate, or a secure third-party endpoint.
6. Renewal is not an afterthought
Whether you use free SSL for a website through your host or install a certificate manually, renewal deserves a quick test. Check whether it is automatic, where failure notices would be sent, and whether DNS or firewall changes could block future validation.
7. External services trust the new setup
After launch, test integrations that call your site over HTTPS:
- APIs and webhooks
- Payment providers
- CDN or reverse proxy services
- Monitoring tools
- OAuth or SSO callbacks
HTTPS issues sometimes appear only when these external systems request your site.
Common mistakes
Most HTTPS problems come from a short list of repeatable mistakes. If you need to fix HTTPS errors quickly, start here before changing too many variables at once.
Forcing HTTPS before the certificate is active
This creates immediate browser warnings or access failures. Always test direct HTTPS access first, then turn on redirects.
Editing the wrong DNS zone
If your registrar, CDN, and host all show DNS screens, it is easy to change records in the wrong place. Confirm which nameservers are authoritative before troubleshooting validation.
Leaving stray AAAA records in place
If your domain has an IPv6 record pointing somewhere old while the IPv4 record points to the new host, some visitors may reach the wrong server. The result can look like a random certificate mismatch.
Creating conflicting redirect rules
One redirect at the CDN, one at the web server, and one in the CMS can produce loops or unexpected hostnames. Simplify and decide which layer owns the redirect behavior.
Assuming the padlock means everything is done
A secure homepage does not guarantee every page, asset, form, or subdomain is correct. Test templates, logins, and key user journeys.
Ignoring hard-coded HTTP links after migration
Database content, theme settings, and old templates often preserve insecure URLs. Search and replace carefully, especially after moving hosts or changing domains.
Breaking email while fixing the website
Website launches often involve DNS cleanup. Avoid removing MX or TXT records unless you are certain they are obsolete. If mail stops working after an SSL-related change, the root cause may be unrelated to SSL and tied to DNS edits instead.
Not planning for renewals and provider changes
If you later change hosting, switch CDNs, or transfer the domain, certificate issuance may need to be repeated or revalidated. Moves like these are easier when documented. If a registrar transfer is coming up, review How to Transfer a Domain Name Without Breaking Your Website or Email.
When to revisit
SSL setup is not a one-time box to tick forever. Revisit this checklist whenever the underlying inputs change, especially in these situations:
- Before launching a redesigned site so new templates, scripts, and embeds do not reintroduce mixed content.
- Before seasonal traffic periods or campaigns when downtime or browser warnings are more costly.
- When changing hosting providers because certificates, redirect logic, and validation paths often change with the environment.
- When transferring a domain or changing DNS providers because issuance and renewals depend on accurate DNS.
- When adding subdomains or new services such as a shop, app, or help center that need their own coverage.
- When turning on a CDN, reverse proxy, or security layer because SSL mode and origin certificate settings must align.
- When your certificate is close to renewal if the setup is manual or if prior automated renewals have failed.
For an action-oriented maintenance routine, use this short revisit checklist:
- Open the site in a private browser window and test both HTTP and HTTPS.
- Check root domain, www, and any public subdomains.
- Inspect one or two important pages in developer tools for mixed content warnings.
- Confirm redirects are single-hop and consistent.
- Review current DNS records and make sure they match the active provider setup.
- Verify certificate renewal status and alert email addresses.
- Retest forms, logins, APIs, checkout, and webhook endpoints.
- Document what changed so the next launch, renewal, or migration is easier.
Finally, remember that SSL lives inside a bigger launch workflow. Hosting choices, renewal pricing, DNS design, email setup, and migration planning all affect how smooth HTTPS setup will be. If you are building out your wider stack, these related guides can help: Web Hosting Renewal Pricing Guide: What Cheap Plans Really Cost After Year One and Best Web Hosting for Beginners Compared.
The simplest way to keep HTTPS healthy is to treat it like a repeatable launch check, not an emergency repair task. When your domain, DNS, hosting, and application settings are reviewed together, most SSL problems become straightforward to prevent and quicker to fix.