company logo

Salesforge Helpdesk

Go to Salesforge
Agent FrankLeadsforge - Search Engine For LeadsPrimeforge - Google & MS365Mailforge - Distributed Email InfrastructureInfraforge - Private Email InfrastructureWarmforge - Email Deliverability Center
All collectionsInfrastructureFix www not working on a domain with SSL forwarding or masking

Fix www not working on a domain with SSL forwarding or masking

If the www version of your forwarded domain shows a blank page or will not connect, point www to your root domain with a CNAME record and switch domain masking off and on. Works the same in Mailforge and Infraforge.

You forward a domain to your website with SSL redirect or domain masking. The bare domain works, for example yourdomain.com, but the www version shows a blank page or does not connect. This guide shows how to fix it. The steps are the same in Mailforge and Infraforge, with one difference in the Host Name field (see Step 2). The screenshots are from Mailforge.

Why www stops working

The SSL forward and domain masking are set up on your root domain. The www host only follows the same forwarding when it points to the root domain. If www is missing, or is an A record that points to an IP address, it is not served by the forward, so visitors see a blank page or a connection error.

How to fix it

Step 1: Open the domain

Go to the Domains page and open the DNS settings of the domain. The Domain edit window opens. It shows the Hosted SSL redirect section with the Domain masking switch, and the Edit Host Records list below it.

Domain edit window with the Hosted SSL redirect section, the Domain masking switch on, and the host records list without a www record

Step 2: Add a CNAME record for www

If www already has an A record that points to an IP address, remove it first, so that www has only the CNAME record. Then click Add new record and fill in the row:

  • Host Name: in Mailforge, enter www. In Infraforge, enter the full address, for example www.yourdomain.com.

  • Record Type: CNAME

  • Address: your root domain, for example yourdomain.com

New record row with host name www, record type CNAME and the root domain as the address, above the Update button

Click Update. You see the message "DNS record updated" and the www CNAME record appears in the list.

Host records list with the new www CNAME record pointing to the root domain and a DNS record updated message

Step 3: Switch domain masking off and on again

The change only reaches the forward after you switch the Domain masking switch off and on again:

  • If domain masking is on, switch it off, then switch it on again.

  • If domain masking is off, switch it on, then switch it off again.

Switched off:

Domain masking switch turned off

Switched on again:

Domain masking switch turned back on

Check that it works

Wait a few minutes, then open https://www.yourdomain.com in a browser. With the CNAME record in place and masking switched off and on, the www version works over HTTPS the same way as the root domain. DNS changes can take longer to reach everyone, up to 48 hours in some cases.

Keep in mind

  • Keep www as a CNAME record that points to your root domain. If you remove it or replace it with an A record that points to an IP address, www stops working again.

  • Repeat the steps for every forwarded domain whose www does not work.

Still stuck? Contact our support team through the live chat and we will help.

Did this answer your question?
😞
😐
😁