Can I buy a domain from one company and host elsewhere?
Yes. A domain and hosting are separate services and do not have to come from the same company. You connect them by setting the host's nameservers on the domain, or by pointing an A record at the host's IP address. The change usually takes effect within a few hours.
Check a nameAsk on WhatsApp.com for Rs 99 with the Rs 10,000 website bundle, Rs 2,199 on its own.
How to connect a domain to hosting elsewhere
The host gives you either two nameservers or an IP address.
- Log in where the domain is registered (the registrar, or PKNIC for a .pk name)
- Option one: replace the nameservers with the host's nameservers
- Option two: keep the nameservers and add an A record with the host's IP address
- Add the domain inside your hosting account
- Wait for the change to spread, then switch on the free SSL certificate
Nameservers or an A record?
Changing nameservers hands all DNS to the host, which is the simple choice for a new site. An A record changes only where the website points and leaves email and other records alone, which is safer when the domain already has working email. Our guide “What are nameservers?” and our guide “DNS records explained: A, CNAME, MX and TXT” explain both.
How long it takes
Most visitors see the change within a few hours; allow up to 48 hours for every network. Our guide “How long do DNS changes take to work?” explains why.
When buying both together is easier
If this is your first website, a plan with both saves the connecting step. Our Gold membership (Rs 6,000, see the membership plans) includes a .com and a year of hosting, and we connect them for you. Our guide “Domain vs hosting: what is the difference?” explains what each part does.
Common questions
Do I need to transfer my domain to my hosting company?
No. Pointing the nameservers or an A record is enough. A transfer only changes where you renew the domain.
Can I point a .pk domain to any hosting?
Yes. Set the host's nameservers in your PKNIC record. The hosting company can be in Pakistan or abroad.
Will my email stop when I change hosting?
It can if you change nameservers and the new host has no mail records for you. Copy the MX records first, or change only the A record.
Is it cheaper to buy them separately?
Sometimes. Compare the renewal prices, not only the first-year prices, because both the domain and the hosting renew every year.