Pointing a Web2 domain to a VPS (Virtual Private Server) is a common way to publish a website, application, or service under your own domain. Depending on your provider, this is done either by pointing DNS records to a server IP or by following the provider’s required DNS setup (for example, specific CNAME records or nameserver changes).
This guide explains how DNS resolution works, which records you need, and how to point your Web2 domain using Freename’s DNS panel.
Before you start, make sure you have:
No additional tools are required.
When a user visits your domain:
This mapping is done using A records (IPv4) and optionally AAAA records (IPv6).
From your VPS provider dashboard or server console, locate:
Example:
IPv4: 203.0.113.10
IPv6: 2001:db8::1
You will use these values in the DNS configuration.
2 Navigate to:
Portfolio → Domains → Manage → DNS
3 Select the domain you want to point to your VPS
Add a new DNS record with the following values:
Save the record.
This points:
yourdomain.com → VPS IP
5. (Optional) Add an AAAA Record (IPv6)
If your VPS supports IPv6, you can also add an AAAA record.
This allows IPv6-capable clients to connect directly.
Most websites should also respond to www.yourdomain.com.
This ensures www always follows the root domain.
Alternatively, you can point www directly to the IP:
Both approaches work, but CNAME is preferred for simplicity.
DNS only routes traffic — your VPS must be configured to accept it.
On your VPS:
Without this step, DNS will resolve correctly but the website may not load.
DNS changes are not instant.
You can verify DNS propagation using:
https://dnschecker.org/
Propagation usually takes minutes, but can take up to 72 hours.
After DNS is pointing to your VPS, you should install an SSL certificate.
Common options:
Without SSL, browsers will show security warnings.
Website not loading
DNS not resolving
WWW works but root doesn’t (or vice versa)
What DNS records do I need to point a Web2 domain to a VPS?
You need an A record to map your domain to the VPS IPv4 address, and optionally an AAAA record if you also want to support IPv6.
How do I point the root domain (yourdomain.com) to my VPS in Freename?
In Freename’s DNS panel, create an A record with Host/Name = @, Type = A, Value = your VPS IPv4, and TTL = 300 (or default), then save.
How should I configure the www subdomain (www.yourdomain.com)?
Recommended: add a CNAME with Host/Name = www pointing to yourdomain.com.
Alternative: add a separate A record for www pointing directly to your VPS IPv4.
Why can DNS be correct but the website still doesn’t load?
DNS only routes traffic. Your VPS must have a web server configured with ServerName yourdomain.com and ServerAlias www.yourdomain.com, and ports 80 (HTTP) and 443 (HTTPS) must be open. Then restart the web server.
How long does DNS propagation take and how can I verify it?
Propagation can take minutes but up to 72 hours. You can check it on dnschecker.org by selecting A, entering your domain, and confirming your VPS IP appears globally.