Digital marketing

How to Secure a Signup Form With HTTPS Before a New Website Launches

A free certificate encrypts your signup form just as well as a paid one. What earns the padlock on launch day is doing the steps in the right order.

A laptop on a stand on a modern desk with a keyboard, mouse, and headphones
Photo by Riekus

A padlock on launch day depends on the order you do things in. It doesn't depend on what you pay for a certificate. A free certificate encrypts your signup form exactly as well as a paid one. The trouble starts when steps happen out of order. The DNS points at the new site before the certificate exists. The form goes onto a page that still loads one script over HTTP. Or the redirect goes live before anyone has pushed a real signup through it.

This guide gives you the order that works. Put the certificate on staging, force HTTPS, clear mixed content and test the form. Then add bot protection and double opt-in. Follow that sequence and your form is trustworthy from the first visitor. If you're still deciding whether a form needs a certificate at all, our explainer on whether signup forms need an SSL certificate before a site launches answers that. This piece takes the answer as yes and does the work.

It's the week of 21 April 2026. Certificate rules changed last month, so some habits from older tutorials no longer hold, and we'll flag them as we go. If you're a freelancer setting this up for a client, the steps are the same.

Close-up of a person's hands typing an email address into a form on a smartphone at a wooden kitchen table
Photo by niekverlaan

By the end you will have a signup form that loads, submits and confirms over HTTPS before launch day

Here's what you'll have when you finish. Every page shows a padlock. Nothing on any page loads over plain HTTP. A test signup has gone through and landed in your list. Bot protection is on, and double opt-in is set up wherever it fits your audience. That's what a secure signup form with SSL before launch looks like in practice. The certificate is one part of it. A signup you've actually tested is the rest.

Gather these before you start. Most of the delay in a launch comes from waiting on a login, so sort them out first.

  • Access to your domain's DNS settings, wherever the domain is registered or managed.
  • Your hosting control panel, or SSH access if you run your own server.
  • The form embed code from SendTo, or a hosted landing page built in SendTo.
  • A staging URL where the new site runs before it goes public.
  • A test inbox you can check from your phone, separate from your main work address.

Step 1: Issue the certificate on staging before the domain points anywhere public

Start with the certificate, because everything after it depends on it. If your host has a one-click certificate option in the control panel, use it. If you run your own server, use Let's Encrypt with Certbot. Certbot is a free command-line tool that requests and renews certificates using the ACME protocol, the standard way a server proves it controls a domain to a certificate authority.

A free certificate is good enough for a signup form. It uses the same encryption as a paid one and shows visitors the same padlock. Paid certificates add things like organisation checks and support contracts. A small business collecting email addresses doesn't need either.

Use the DNS-01 challenge when the site isn't public yet

The default ACME check, called HTTP-01, has Let's Encrypt fetch a file from your domain over the web. Before launch, your domain still points at the old site or at nothing, so that check fails. The DNS-01 challenge gets round this. You prove you control the domain by adding a TXT record, a short text entry in your DNS, at _acme-challenge on your domain. Certbot tells you the value to add. Once it's in place, the certificate is issued for your real hostnames even though they don't reach the new server yet. DNS-01 is also the only way to get a wildcard certificate.

sudo certbot certonly --manual --preferred-challenges dns \
  -d example.co.uk -d www.example.co.uk -d join.example.co.uk

Name every hostname a visitor could reach. That means the bare domain (example.co.uk), www, and any subdomain that carries a form or a landing page. You should see a valid certificate on your staging hostname, plus a certificate file that lists every live hostname. Click the padlock in your browser and open the certificate details to check the list of names.

Plan for shorter certificate lives in 2026

Since 15 March 2026, public certificates have been capped at 200 days, and the cap gets shorter in later years. Free certificates already last 90 days. So you'll renew every couple of months at least, and that only works if renewal is automatic. Certbot sets up a scheduled renewal when it installs, but manual DNS-01 certificates won't renew by themselves. For those, use a Certbot DNS plugin for your DNS provider so the TXT record gets updated without you.

There's one more change. Let's Encrypt stopped sending expiry reminder emails in 2025. If renewal fails quietly, nothing tells you. When a certificate expires, browsers block the page with a warning, and your form stops collecting signups until you fix it. Set up your own monitoring. An uptime checker that alerts you 14 days before expiry is enough.

Step 2: Force every request to HTTPS with one redirect, then add HSTS once it holds

A certificate does nothing for a visitor who arrives on http. Add a 301 redirect, the permanent kind, that sends every HTTP request to HTTPS. Pick one canonical host at the same time, either www or the bare domain, and send everything to it in one step. So http://example.co.uk goes straight to https://www.example.co.uk, not first to https://example.co.uk and then on to www. Every extra hop slows the page and gives a form one more chance to lose its data.

You should see any http URL arrive at its https version in a single hop. You can check this with your browser's developer tools on the Network tab with Preserve log ticked. Or run curl -I on an http address and confirm you get one 301 with the final https URL in the Location header. Try the bare domain, www, a deep page and the page with the form on it.

Next comes HSTS, short for HTTP Strict Transport Security. It's a response header that tells browsers to use HTTPS for your domain for a set time, even if someone types http. It's worth having. It's also hard to undo, because browsers remember it for the whole max-age period.

Step 3: Hunt down mixed content, because one HTTP script breaks the form's padlock

A page can have a valid certificate and still show "Not secure". The usual reason is mixed content, which means an HTTPS page loading something over plain HTTP. That could be an image, a font, a script or an iframe. Browsers block insecure scripts outright and warn about insecure images. Either way the padlock goes and visitors stop trusting the form.

Open every page that carries the form on staging. Press F12 to bring up the browser's developer tools and read the Console tab. Then reload with the Network tab open and filter for http: entries. Then check the form itself. In the Elements tab, find the form tag and read its action attribute, which is the address the form posts to. If it starts with http, the browser warns the visitor at the moment they press submit. That's the worst possible moment for it.

You should see no mixed content warnings in the console and nothing loading over http in the network list. The mistake is fixing the page you can see and missing where the old links are stored. Hardcoded http addresses sit in theme files, in page builder settings saved in the database, and in old widget code. A search-and-replace across the database, swapping http://yourdomain for https://yourdomain, clears most of them. Our spring technical SEO check walks through a full site crawl that catches the rest.

Step 4: Test the form itself, embedded or hosted, the way a visitor will meet it

You can collect signups in two ways, and they're secured differently. An embedded form sits on your own page. Its security depends on your site's certificate and on the embed script loading cleanly. A SendTo hosted landing page is served over HTTPS by the platform, so the certificate and the page are handled for you. Neither one is safer in itself. The embed puts more of the checking on you. The hosted page asks you to make sure it looks like your brand.

You should see a padlock on the page, the form submitting without any browser warning, and a thank-you message or thank-you page afterwards. The mistake is testing only while you're logged in to your CMS. Logged-in visitors skip the cache, often skip the consent banner and load admin scripts. Your form works for you and fails for the public.

If the form is embedded on your own site

Paste the SendTo embed code into the HTTPS page. In the Network tab, confirm the embed script loads over https and returns a 200 status. Then check your cookie or consent banner. Some banners hold back third-party scripts until the visitor accepts, which leaves an empty space where the form should be. Set the form script as necessary, or test both the accept and decline paths. Finally, sign up from your phone and from a private browser window, logged out, with a fresh plus address each time.

If the form lives on a hosted landing page

If the main site isn't ready, use a SendTo hosted landing page and start collecting signups now. You can share the link in social posts, on a holding page or in your email signature weeks before launch, and the list grows while the site is still being built. Our review of SendTo's hosted landing pages and websites covers what the builder does and where it stops. Use your logo, colours and fonts so the page looks like yours. A signup page that looks like it belongs to someone else puts people off typing in their email address.

Step 5: Switch on bot protection before the first launch post goes out

HTTPS encrypts the trip between a visitor's browser and your form. It tells you nothing about who's typing. A script can push a thousand fake addresses through a perfectly valid HTTPS connection, and the padlock stays green the whole time. So bot protection is a separate job, and you do it before you share the launch, not after.

In SendTo, switch on bot protection for the signup form. It works on the embedded form and on the hosted landing page. Then send two or three test signups yourself, each with a fresh plus address. You should see every real test arrive in your list, while automated junk gets filtered out before it reaches you.

Two more checks run behind the form. SendTo verifies addresses before any campaign sends, so mistyped and dead addresses are caught. Platform-wide suppression stops addresses that have bounced or complained from being mailed again. Neither one replaces bot protection at the form. They're the second and third lines behind it. Our guide to consent, lists and deliverability for small businesses explains how those pieces fit together once you're sending.

Double opt-in means a new subscriber gets an email and clicks a link to confirm before they join your list. You lose the people who never click. You gain proof of consent and a list of addresses that work. SendTo offers double opt-in as an optional setting on each form, so you choose per form. Our piece on when double opt-in is needed under GDPR covers the legal side. Here we'll stick to setting it up.

Put the consent wording right next to the button, not in a footer. Say what people get and how often. "Monthly garden-care tips and first notice of our sales. Unsubscribe any time." Then link your privacy notice using its live https address. Leave any consent checkbox unticked, so the visitor ticks it themselves.

Submit a test signup. You should see the confirmation email arrive within a minute or two. Its link should open on https with a padlock, and the contact should show as confirmed in your SendTo list.

Step 7: Cut over DNS and run the same test again on the live domain

Lower your DNS TTL a day before the switch. TTL, short for time to live, is how long other servers cache your DNS records. If it's set to a day, a change takes up to a day to reach everyone. Drop it to 300 seconds 24 hours ahead and the switch spreads in minutes.

Then point the domain at the new server. Update the record for the bare domain and the one for www, plus any form or landing subdomain. Open each hostname in a private window, click the padlock and confirm the certificate lists that name. Run curl -I on the http version of each again and check for one 301.

Now do a real signup from your phone, with Wi-Fi off and mobile data on. Mobile data uses a different DNS resolver and has no cached copy of anything you've visited, so it shows you what a stranger sees. You should see the padlock, a single-hop redirect, the contact in your SendTo list within a minute and the confirmation email arriving with a working link. That's a secure signup form with SSL before launch, tested where it counts.

How to tell it worked, and what to fix first when it did not

Run through this list on the live domain, logged out, in a private window. If every line holds, your form is ready for the first visitor.

  • A padlock on every page that carries the form.
  • No warnings in the developer tools console on those pages.
  • Every http address arrives at https in one hop.
  • Your test contact shows in the SendTo list.
  • The confirmation email arrived and its link was clicked.
  • Certificate renewal is automatic, with an expiry alert set 14 days out.

When something fails, the symptom usually points straight at the cause. Start with the row that matches what you're seeing.

What you seeWhat to fix
"Not secure" with a certificate installedMixed content, or the form's action attribute still posting to http. Recheck the console and the form tag.
Certificate name mismatchA hostname is missing from the certificate. Reissue it covering the bare domain, www and every form subdomain.
Redirect loopA proxy and your server are both forcing HTTPS. Let one of them do it, not both.
No confirmation emailCheck spam and promotions, check double opt-in is on for this form, and use a new plus address in case the old one was suppressed.
Empty space where the form should beThe consent banner is holding back the embed script. Mark it as necessary or test the accept path.
Browser blocks the page weeks after launchThe certificate expired. Renew it, then fix the automatic renewal so it doesn't happen again.

Fix one row, then run the full phone test again. Changing three things at once hides which one worked. Once the list is clean, you're done, and your first launch post can go out knowing every signup lands where it should.

If you're a freelancer who sets this up for clients, you probably also know agencies that sell email marketing to small businesses. SendTo's affiliate programme pays you 20% of the partner subscription each agency you refer pays SendTo, every month they pay it. It's never a share of what that agency's own clients pay the agency. Attribution lasts 90 days from the first click, first touch wins, and commission is paid monthly by PayPal.

Refer agencies to SendTo and earn 20% of their partner subscription every month they pay it.

Join the SendTo affiliate programme

Frequently asked questions

Do I need to pay for a certificate, or is a free one good enough for a signup form?

A free one's fine. It uses the same encryption and shows the same padlock as a paid certificate. Paid ones add organisation checks and support contracts, and a small business collecting email addresses doesn't need either.

Can I get a certificate before my domain points at the new site?

Yes, with the DNS-01 challenge. You add a TXT record at _acme-challenge on your domain using the value Certbot gives you. The certificate's then issued for your real hostnames, even though they don't reach the new server yet.

Why does my page still say Not secure when the certificate is installed?

It's almost always mixed content. One image, font, script or iframe loading over plain HTTP is enough to lose the padlock. Check the Console and Network tabs in developer tools, and make sure the form's action attribute starts with https.

Does HTTPS stop spam signups?

No. HTTPS encrypts what a visitor types, but a bot can submit over HTTPS just as easily as a person can. That's why bot protection is its own step, and it goes on before your first launch post.

Is an embedded form safer than a hosted landing page, or the other way round?

Neither is safer. An embedded form relies on your site's certificate and a script that loads cleanly, so you do more of the checking. A SendTo hosted landing page is served over HTTPS by the platform, so your job there is making it look like your brand.

How often will I have to renew the certificate now that lifetimes are shorter?

Free certificates last 90 days, and since 15 March 2026 public certificates are capped at 200 days, with the cap getting shorter in later years. Set renewal to run automatically. Certbot schedules it for you, but manual DNS-01 certificates need a Certbot DNS plugin.

What happens to my form if the certificate expires after launch?

Browsers block the page with a warning, and your form collects nothing until you fix it. Let's Encrypt stopped sending expiry reminders in 2025, so set up an uptime checker that alerts you 14 days before expiry.

How do I test that a signup actually reached my list?

Sign up from your phone and from a private browser window, logged out, using a fresh plus address like yourname+launchtest1@yourdomain. Each test shows up as its own contact, so you can see which run reached your list.

Everything this blog teaches, on a platform with your name on it.

Email campaigns, websites, landing pages and print for your clients, made from a short brief and sent under your brand. Create your account and look around with a sample workspace loaded.

No contract · Cancel any time · Explore everything before you pay