pagehaus

Custom domains

On Personal and Pro plans your site can use your own domain, like www.example.com, with HTTPS set up automatically.

1. Add the domain in Pagehaus

Open your site's Domains tab and add the domain. We show the exact DNS records to create, and check them automatically.

2. Create the DNS records

Where you manage your domain's DNS (usually where you bought it):

  • www and other subdomains: a CNAME record named www pointing to yoursite.pagehaus.site.
  • The root domain (example.com): A/AAAA records pointing to 54.38.118.204 and 2001:41d0:304:300::4da3, plus a TXT record named _pagehaus with the value shown in the Domains tab, which proves the domain is yours.

Add both example.com and www.example.com so visitors reach you either way, then choose which one is your primary domain.

3. Wait a little

DNS changes can take from a few minutes to a few hours to spread. The Domains tab rechecks automatically and shows Live when everything works. The HTTPS certificate is created on the first visit.

4. Choose a primary domain

Once a site has two or more live domains, press Make primary next to the one you want people to see. Your other domains then redirect to it, keeping the rest of the address: www.example.com/menu.html?day=2 goes to example.com/menu.html?day=2. Visitors, bookmarks and search engines all end up on one address, and search engines don't see the same pages twice.

  • The redirect is permanent (308), works over HTTPS, and keeps forms working: a form sent to the other domain still arrives.
  • Only a live domain can be primary. If it stops working, for example after a DNS change, your other domains show the site again instead of redirecting to an address that doesn't work.
  • Your yoursite.pagehaus.site address keeps showing the site as it is.
  • Stop redirecting on the primary domain turns it off.

Which one? Either works. The shorter example.com is the usual choice today; www.example.com can be easier with some DNS providers.

Your email keeps working

Pagehaus only needs the records above. Leave your MX records, and the TXT records for SPF, DKIM and DMARC, exactly as they are: they belong to your email provider, and email keeps arriving where it did. Don't use a CNAME for the root domain itself; it can't sit alongside MX records. Pagehaus doesn't host email; to get an address like hello@yourdomain.com, see email at your own domain.