Redirecting non-www to www.

A common use-case is that you want to redirect your non-www to the www variant, or in reverse. The non-www is also sometimes called naked record or "apex". This is a perfect use-case for redirect.pizza, and one of our most popular setups. Learn more about why and when to redirect apex to www.

Let's go on the pizza train:

  1. Create a redirect.pizza account.
  2. Add your source. This should be the domain without www. For instance, enter example.com as your source.
  3. Set the destination to the variant with www. Example: www.example.com
  4. Press "Create redirect". This creates a 301 (permanent) redirect by default, which tells search engines to transfer all ranking signals to the www version.
  5. The required DNS change pops up. Go to your domain registrar to make this DNS change for the A record. This record may already exist as '@'. Press 'edit' to change it to the required DNS setting for redirect.pizza. For more info, see What are these DNS changes?
  6. The DNS change is made! It may take up to 24 hours before the DNS is fully propagated. redirect.pizza will automatically provision an SSL certificate for your domain, so the redirect works over both HTTP and HTTPS.

Make sure to enable path forwarding in your redirect settings. Without it, example.com/contact would redirect to www.example.com instead of www.example.com/contact.

For a deeper look at why this redirect matters for SEO and how DNS-level redirects compare to server-side solutions, read our guide on redirecting non-www to www. Redirect not working? Check our troubleshooting tips.

More articles

Walkthroughs
GoDaddy: Forwarding with HTTPS support
Network Solutions: Forwarding with HTTPS support
Namecheap: Forwarding with HTTPS support
Hover: Forwarding with HTTPS support
TransIP: Forwarding with HTTPS support
Cloudflare: Forwarding with HTTPS support
Amazon Route 53: Forwarding with HTTPS support
NS1: Forwarding with HTTPS support
DigitalOcean: Forwarding with HTTPS support
Google Cloud DNS: Forwarding with HTTPS support
EuroDNS: Forwarding with HTTPS support
Azure DNS: Forwarding with HTTPS support
DNS Made Easy: Forwarding with HTTPS support
Freenom: Forwarding with HTTPS support
Mijndomein: Forwarding with HTTPS support

Can’t find the answer you’re looking for?

24 hours
E-mail us
support@redirect.pizza
Start a chat
Online 9:00 - 21:00 CEST
Phone
Available with Enterprise
Pricing Background
Domain redirects delivered hassle-free

Get started right away

  • Free plan
  • No creditcard required
Features

Everything
you need