A website's bare domain is its address without the www prefix. A bare-to-www redirect in cPanel sends visitors from that address to the preferred www URL.

The Redirects tool creates an HTTP redirect in the site's .htaccess file rather than changing DNS records. The bare domain must already reach the cPanel web server, and the destination must serve the working website. HTTPS requests also need a valid certificate before the server can return a redirect.

A permanent redirect suits a site that will keep its www address. Browsers can cache that choice, so a mistaken destination may continue sending visitors to the wrong place even after the rule is removed.

Steps to redirect a bare domain to www in cPanel:

  1. Open Redirects under Domains in your signed-in cPanel account.
  2. Select your bare domain, such as simplified.guide, from the domain menu.

    The new form defaults to Permanent (301) with an empty path beside /, which applies the redirect to the whole domain. If those values have been changed, restore them before continuing. Choosing a specific domain limits the rule to that site instead of All Public Domains.

  3. Enter the complete destination URL, such as https://www.simplified.guide/, in Redirects to.

    The destination must use your own site's working HTTPS address, including the www hostname and trailing slash.

  4. Select Do Not Redirect www. under www. redirection.

    This excludes requests already using www so the destination does not redirect to itself.

  5. Enable Wild Card Redirect to preserve the requested path.

    A request for simplified.guide/photos/image.jpg then goes to https://www.simplified.guide/photos/image.jpg rather than the home page.

  6. Click Add to save the redirect.

    If cPanel displays a confirmation page, Go Back returns to Redirects. To undo a mistaken rule, its Delete action under Current Redirects opens a removal confirmation; cached browser redirects may remain after deletion.

  7. Reload Redirects to check the saved bare-to-www rule under Current Redirects.

    The row must show your bare domain, directory /, the complete www destination, status 301, type permanent, and a check mark under Wildcard. A missing row or a different destination means the intended rule was not saved. This confirms the cPanel setting; public requests must reach this server for it to take effect. Once they do, the HTTP Redirect Checker can inspect the public redirect chain.

Share this guide