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
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.