This guide continues from Deploying a Blog Powered by Hugo to Netlify and will walk you through setting up a custom domain purchased from GoDaddy on Netlify.
Step 1: Purchase a Domain on GoDaddy
Create a GoDaddy Account
- Go to GoDaddy’s website.
- Click on “Sign In” at the top right corner or “Create an Account” if you don’t have one.
- Follow the prompts to set up your account.
Search for Your Desired Domain
- Once logged in, use the search bar to find the domain name you want (e.g: rishabdhar.in).
- GoDaddy will show you the availability of the domain. If it’s taken, you’ll get suggestions for alternative names or extensions.
Select Your Domain
- Choose the domain you like from the search results. Click “Add to Cart”.
- GoDaddy will offer additional services like privacy protection, email, and hosting. You can add these if needed or skip them.
Proceed to Checkout
- Click on the cart icon and then “Continue to Cart”.
- Review your order and click “Continue to Checkout”.
- Enter your payment information and complete the purchase.
Verify Domain Ownership
- After purchase, you’ll receive a confirmation email from GoDaddy. Follow the instructions to verify your email address and domain ownership.
Step 2: Configure Domain Settings on GoDaddy
Access Domain Settings
- Log in to your GoDaddy account.
- Go to “My Products” and locate the domain you just purchased.
- Click on “DNS” next to your domain name.
Set Up Nameservers
Configure Nameservers: If you plan to use Netlify’s nameservers you would change them as follows:
- In the “DNS Management” section, find the “Nameservers” area.
- Select “Change” and choose “Custom”.
- Enter the nameservers provided by Netlify.
- Save your changes.
Configure DNS Records:
- A Records: If you’re using Netlify’s IP addresses, you might need to add or update A records. Netlify’s documentation provides the current IP addresses.
- CNAME Record: For subdomains or if you prefer to use a CNAME, create a CNAME record pointing to
your-site-name.netlify.app
.
Step 3: Set Up Your Domain on Netlify
Log In to Netlify
- Login to Netlify.
Add a New Site
- On the Netlify dashboard, click on “Add new site” and then select “Add custom domain”.
Enter Your Domain Name
- Enter the domain name you purchased from GoDaddy into the field provided and click “Verify”.
Configure DNS Settings
- Netlify will provide DNS records that you need to set up on GoDaddy. This typically includes:
- A Records: Point to Netlify’s IP addresses.
- CNAME Record: For subdomains, point to
your-site-name.netlify.app
.
- Netlify will provide DNS records that you need to set up on GoDaddy. This typically includes:
Verify Domain Connection
- After updating DNS records on GoDaddy, go back to Netlify and click “Check DNS configuration”.
- Netlify will verify that your domain is correctly set up. This process might take a few minutes to propagate.
Finalize the Setup
- Once Netlify verifies the configuration, your custom domain will be linked to your site.
- You can then set it as your primary domain or configure redirects as needed.
Step 4: Test Your Domain
Check DNS Propagation
- Use tools like WhatsMyDNS to check if DNS changes have propagated globally.
Visit Your Domain
- Enter your domain name in a browser to ensure it correctly points to your Netlify site.
Secure Your Domain
- Netlify provides free SSL certificates for custom domains. Ensure SSL is enabled in Netlify’s dashboard to secure your site.
Tomorrow’s dawn heralds the Singularity