Same price at renewalFree .com domain with yearly plans7-day money-back guarantee24/7 tickets · Live help Mon–Sat 9–6JazzCash & Easypaisa acceptedSame price at renewalFree .com domain with yearly plans7-day money-back guarantee24/7 tickets · Live help Mon–Sat 9–6JazzCash & Easypaisa accepted

Use XHOST Domains with Vercel and Netlify (or Move to cPanel)

By Muhammad Ashir Rana, Founder, XHOST · Updated

You can keep your domain at XHOST and run the site on Vercel or Netlify, or move a Vercel or Netlify site to cPanel hosting when you want email on the same domain and one bill in rupees. This guide gives the exact DNS records for each platform and the steps to move a React, Vite or Next.js site to cPanel.

Point an XHOST domain to Vercel

  1. In Vercel, open your project → Settings → Domains and add example.pk and www.example.pk.
  2. In your XHOST domain's DNS settings, set these records (or use Point to Vercel where your DNS panel shows it):
TypeNameValue
A@76.76.21.21
CNAMEwwwcname.vercel-dns.com

Remove any other A, AAAA or CNAME records on @ and www first, or visitors may reach the old server. Vercel issues the SSL certificate automatically once DNS has updated.

Point an XHOST domain to Netlify

  1. In Netlify, open Site configuration → Domain management and add your domain.
  2. Set these records in your XHOST DNS settings (or use Point to Netlify and enter your site name):
TypeNameValue
A@75.2.60.5
CNAMEwwwyour-site.netlify.app

.pk domains: DNS records can only be edited where the domain's nameservers point. If your .pk domain uses another company's nameservers, either add the records there or move the nameservers to XHOST first.

When moving from Vercel or Netlify to cPanel makes sense

  • The site is static or a single-page app (React, Vite, Vue, Astro, Next.js static export).
  • You want business email (info@yourdomain) on the same plan.
  • You want one bill in PKR, paid with JazzCash, Easypaisa or a local card.
  • You also run WordPress or PHP sites and want them in one place: XLITE PRO hosts 3 sites for Rs 6,499/yr.

Stay on Vercel or Netlify if you depend on server-side rendering on every request, edge functions or preview deployments for every pull request. Those need a Node.js environment; on XHOST that means a VPS.

Move a React, Vite or Next.js site to cPanel

  1. Build locally. Vite/React: npm run build (output in dist/). Next.js: set output: 'export' in next.config.js, then npm run build (output in out/).
  2. Upload the contents of the output folder to public_html with cPanel File Manager or FTP.
  3. Single-page apps: add a .htaccess file in public_html so deep links load the app:
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.html [L]
  4. Environment variables: anything the build reads (VITE_*, NEXT_PUBLIC_*) is baked in at build time, so set it before you build.
  5. Serverless functions and form handlers: move them to a small PHP script, an external form service, or a Node.js app on a VPS.
  6. Switch DNS back to XHOST hosting (nameservers or the A record) and turn on free SSL.

On yearly plans we can do the move for you. See also moving a website without downtime.

Deploy from your AI agent

With XHOST MCP, Cursor, Claude Code and Google Antigravity can deploy builds to your cPanel account and change DNS from the editor. Create an API key in your dashboard to connect.

Frequently asked questions

How do I connect my XHOST domain to Vercel?

Add the domain in your Vercel project settings, then set an A record for @ to 76.76.21.21 and a CNAME for www to cname.vercel-dns.com in your XHOST DNS settings. Remove other A, AAAA or CNAME records on @ and www.

How do I connect my XHOST domain to Netlify?

Add the domain in Netlify domain management, then set an A record for @ to 75.2.60.5 and a CNAME for www to your-site.netlify.app.

Will my email stop working if I point my domain to Vercel?

No, as long as you only change the website records (A and CNAME on @ and www) and keep your MX and TXT records.

Can I move a Next.js site from Vercel to cPanel?

Yes, if it can be exported as static files: set output to export, build, and upload the out folder to public_html. Sites that need server-side rendering on every request need a Node.js server such as a VPS.