Domain and DNS guide

How to connect a domain to your new website

Add the domain to your web host, update the records at your current DNS provider and test both the main domain and the www version over HTTPS.

Add the domain at your web host

In your hosting dashboard, add both the main domain, such as example.com.au, and www.example.com.au, following your host’s instructions. Choose the primary address you want visitors to see. Ask the host which DNS records and verification steps it requires.

Update DNS where your name servers are managed

Use the Name Server Lookup to identify where your domain’s DNS is served. Sign in there to edit the records. You can usually keep the domain registered where it is.

  • Main domain. Follow your host’s instructions. It may give you an A record for an IPv4 address or an AAAA record for an IPv6 address. If it supplies a hostname for the main domain, check whether your DNS provider supports pointing the main domain at a hostname.
  • www. Your host may give you a CNAME target or separate address records. Use the values it provides for this specific hostname.

Check for conflicting records on the website names you’re changing, especially an old AAAA record if your new host gives you only an IPv4 address. Keep the mail records and unrelated subdomains in place. If the move requires new name servers, follow the checklist for keeping email working during a website move.

Check HTTPS and redirect to the primary address

Once the host can verify both names, confirm it has issued a certificate that covers both. Use the SSL checker and open both addresses over HTTPS. Configure the host to permanently redirect the secondary address to the primary one. Try an individual page on both names to check that the redirect keeps the page path.

If only one address works

The main domain works but www doesn’t
Check that the www record exists in the active DNS zone and that www is assigned to the website at the host.
Both resolve but one shows a certificate error
Check whether that hostname is covered by the certificate and whether domain verification has finished.
Some visitors still see the old website
Use the DNS lookup tool to compare the published records with the host’s instructions. Look for old address records and allow time for previously cached answers to expire.

Still choosing where to host? See Stack2 website hosting or domain registration if you need a new domain. Once the website is connected, you can set up business email on the same domain.

Deciding who should manage your renewal? Check whether you need to transfer the domain before connecting it.

Need help connecting your site?

Tell us your domain and where your site and DNS are hosted.

All business guides