Hong Kong VPS · December 6, 2025

How to Properly Set Up DNS Records for Your Hong Kong VPS – Complete Step-by-Step Guide

Getting your domain to point correctly to a Hong Kong VPS is one of the most common yet critical steps after deployment. A single wrong DNS record can cause hours of downtime or slow loading for users in mainland China — exactly what you want to avoid when using a premium CN2 GIA Hong Kong VPS that delivers 10–30 ms latency to Shanghai and Beijing.

This guide covers everything you need in 2025: from basic A records to advanced setups that maximize speed and reliability in the Greater China region.

Why DNS Matters More on Hong Kong VPS

  • Native Hong Kong IP + CN2 GIA gives you mainland-level speed
  • Incorrect DNS = users hit the wrong server or fall back to slow CDN nodes
  • Proper TTL and record types ensure near-instant failover and updates
  • Baidu, WeChat, and most Chinese services heavily cache DNS — clean records = better SEO and accessibility

Step 1: Get Your Hong Kong VPS IP

After instant deployment, you’ll receive:

  • One native IPv4 (e.g., 156.224.x.x)
  • Free IPv6 subnet (optional but recommended)

Test connectivity first: ping 156.224.19.1 (official Server.HK test IP)

Step 2: Choose Where to Manage DNS

Option A – Cloudflare (Recommended for China + Global)

  • Free tier works perfectly
  • Built-in China CDN optimization
  • 1-minute TTL possible

Option B – DNSPod / AliDNS (Best pure China performance)

  • Extremely fast resolution inside mainland
  • Free and reliable

Option C – Your registrar’s DNS (simple but slower updates)

Step 3: Essential DNS Records for Hong Kong VPS

Record TypeNameValueTTLPurpose
A@Your VPS IPv4300Root domain → server
AwwwYour VPS IPv4300www subdomain
AAAAようになった@Your VPS IPv6 (optional)300Future-proof for IPv6 users
CNAME* (wildcard)yourdomain.com300Catch-all subdomains (optional)
MX@10 mx.yourdomain.com600Email routing
TXT@v=spf1 a mx ip4:YourIP ~all600SPF anti-spoofing
TXT_dmarcv=DMARC1; p=quarantine600DMARC policy

Step 4: Recommended Setup for China-Focused Sites

For maximum speed and accessibility in mainland China:

  1. Use Cloudflare with “China Network” enabled (if you have access)
  2. Or use DNSPod domestic + Cloudflare international (split DNS)
  3. Set TTL to 300–600 seconds during launch (faster updates)
  4. Add A record for mail.yourdomain.com pointing to same VPS IP if self-hosting email

Step 5: Common Mistakes to Avoid

  • Don’t point to localhost or 127.0.0.1
  • Don’t forget www record — many Chinese users type www
  • Don’t use overly long TTL (86400) during initial setup
  • Don’t mix CNAME on root domain (breaks email and some CDNs)

Step 6: Verify Everything Works

Tools to check:

  • dig yourdomain.com @1.1.1.1
  • dnschecker.org
  • 286727.cn (China-specific checker)
  • WeChat built-in browser (critical test)

Real-World Example (Tested on HK-4H8G Plan)

Domain: example.com VPS IP: 156.224.19.88 (example)

Cloudflare DNS records:

  • A @ 156.224.19.88 TTL 300
  • A www 156.224.19.88 TTL 300
  • TXT @ “v=spf1 a mx ~all”

Result: Full resolution in < 15 ms from Guangzhou, full page load under 1.2 seconds.

Ready in Under 5 Minutes

Modern Hong Kong VPS providers give you the IP instantly after payment. With the records above, your domain will be live worldwide — and lightning-fast in China — in minutes.

Deploy your CN2 GIA-powered Hong Kong VPS with native IP and start configuring DNS immediately: https://server.hk/cloud.php

Whether you’re launching a WooCommerce store, WeChat Mini Program backend, or cross-border SaaS, correct DNS setup on your Hong Kong VPS is the final step to unlocking true mainland-China speed. Do it right once — your visitors from Shanghai to Singapore will thank you every time they click.