Domains Name Servers and How to Configure them in AWS, GoDaddy and SiteGround
What Are Name Servers?
Name servers play a crucial role in the Domain Name System (DNS). They are responsible for translating domain names (like example.com) into IP addresses that computers use to identify each other on the internet. Without name servers, users would have to remember numerical IP addresses instead of easy-to-read domain names.
When you purchase a domain, it is linked to a default name server provided by the registrar. However, to host a website or use custom DNS configurations, you may need to change or configure name servers.
Configuring Name Servers in AWS
Amazon Web Services (AWS) offers a scalable DNS service called Route 53. Here’s how to configure name servers in AWS:
Step 1: Create a Hosted Zone in AWS Route 53
- Log in to your AWS Management Console.
- Navigate to Route 53.
- Click on Hosted Zones and select Create Hosted Zone.
- Enter your domain name and select Public Hosted Zone.
- Click Create.
Step 2: Copy AWS Name Servers
- Once the hosted zone is created, AWS assigns four name servers.
- Copy these name server values as you’ll need them for your domain registrar.
Step 3: Update Name Servers at Your Domain Registrar
- Log in to your domain registrar (e.g., GoDaddy, Namecheap).
- Find the DNS settings for your domain.
- Replace the existing name servers with the ones provided by AWS Route 53.
- Save the changes and allow propagation (may take up to 24 hours).
Configuring Name Servers in GoDaddy
If your domain is registered with GoDaddy, you can configure name servers as follows:
Step 1: Log in to GoDaddy
- Go to the GoDaddy website and log in to your account.
- Navigate to My Products > Domains.
Step 2: Access DNS Management
- Select the domain you want to update.
- Click Manage DNS.
- Scroll to the Nameservers section and click Change.
Step 3: Update the Name Servers
- Choose Enter my own nameservers (advanced).
- Enter the new name server values (e.g., AWS Route 53 name servers).
- Click Save.
- Allow up to 24 hours for the changes to propagate.
Configuring Name Servers in SiteGround
If your domain is hosted with SiteGround, follow these steps to configure name servers:
Step 1: Log in to SiteGround
- Go to SiteGround and log in.
- Navigate to Services > Domains.
Step 2: Find Name Server Settings
- Select the domain you wish to manage.
- Click Manage and locate the Name Servers section.
Step 3: Update Name Servers
- Enter the custom name servers provided by your hosting provider (e.g., AWS, Cloudflare, or another provider).
- Click Save.
- Wait for the DNS changes to propagate, which can take up to 24 hours.
Conclusion
Configuring name servers is a fundamental step in managing a website’s DNS. Whether you’re using AWS Route 53, GoDaddy, or SiteGround, following the right steps ensures that your domain is correctly linked to your hosting provider. If you experience any issues, always check DNS propagation using tools like whatsmydns.net.