PKNIC Nameservers Setup | Connect .PK Domain to Hosting is essential for connecting

1. Understanding Nameservers and DNS

Nameservers (NS) are part of the Domain Name System (DNS) that direct your domain to the correct hosting server. When you enter a website URL, nameservers translate it into an IP address, allowing browsers to load the site.

For example, if your hosting provider gives you the following nameservers:

  • ns1.yourhost.com
  • ns2.yourhost.com

You need to update these in your PKNIC account for your domain to function correctly.

2. Requirements Before Updating Nameservers

Before proceeding, ensure you have:
✅ A registered .PK domain with PKNIC.
✅ Active web hosting with nameserver details.
✅ Access to your PKNIC account.

3. How to Set Up Nameservers in PKNIC

Step 1: Log in to Your PKNIC Account

  1. Visit https://pknic.net.pk.
  2. Click on "Login" and enter your credentials.

Step 2: Locate Your Domain

  1. Navigate to "Manage Domains."
  2. Select the domain you want to update.

Step 3: Update Nameservers

  1. Click on the "Modify DNS" option.
  2. Enter the new nameservers provided by your hosting provider.
    • Example:
      • ns1.hostingcompany.com
      • ns2.hostingcompany.com
  3. Click Submit to save changes.

Step 4: Wait for DNS Propagation

DNS changes take 24-48 hours to fully propagate across the internet. During this time, your website may not be accessible immediately.

4. How to Check If Nameservers Are Updated

After updating, verify your DNS settings:

Using WHOIS Lookup:

Using DNS Checker Tools:

Using Command Prompt (Windows/Mac):

  • Open CMD or Terminal and type:
    bash
     
    nslookup yourdomain.pk
  • If the output shows your new hosting’s IP, the update is complete.

5. Troubleshooting Nameserver Issues

Issue 1: Website Not Loading After Updating DNS

Solution: Wait 24-48 hours for propagation. Clear browser cache or flush local DNS using:

bash
 
ipconfig /flushdns (Windows) sudo dscacheutil -flushcache (Mac)

Issue 2: Incorrect Nameservers Listed in WHOIS

Solution: Re-enter and save your nameservers again in PKNIC.

Issue 3: Hosting Provider Not Recognizing Domain

Solution: Ensure the domain is added in your hosting panel (cPanel, DirectAdmin,

etc.).

6. Alternative DNS Configuration (A Records, CNAME, MX)

If you want to point your domain to a custom IP instead of nameservers, you can use DNS records.

A Record (Point to IP Address)

  1. In PKNIC, go to DNS Management.
  2. Set an A Record to your server’s IP (e.g., 192.168.1.1).

CNAME Record (Alias to Another Domain)

  1. Add a CNAME record for www.yourdomain.pk pointing to yourdomain.pk.

MX Record (Email Hosting Setup)

  1. Add MX records for email hosting (e.g., Gmail, Zoho Mail).

7. Common FAQs

Q: How long does it take for nameservers to update?
A: Typically 24-48 hours for full DNS propagation.

Q: Can I change nameservers anytime?
A: Yes, but expect downtime until the update completes.

Q: What if I enter the wrong nameservers?
A: Your domain won’t resolve properly. Re-enter correct nameservers in PKNIC.

8. Final Thoughts

Setting up PKNIC nameservers is a crucial step in connecting your .PK domain to web hosting. By following this guide, you can ensure a smooth setup and avoid common DNS issues.

If you have any questions, drop them in the comments! 🚀

rizwan

rizwan

338 Articles Joined Oct 2024

Enjoyed this article? Stay informed by joining our newsletter!

Comments

You must be logged in to post a comment.

Related Articles
Join Our Newsletter

Get instant updates! Join our WhatsApp Channel for breaking news and exclusive content.

Subscribe Now

Free updates - No spam