Pointing a domain to your Virtual Private Server (VPS) IP address is a straightforward process. You simply need to update your domain's DNS Records (specifically the A Record) at your domain registrar.
-
Find your VPS IP address:
Before modifying DNS settings, retrieve your server's public IPv4 address:
-
Log in to your Servers Guru account: https://my.servers.guru
-
Locate to your Server in the dashboard of your account.
-
Copy the ip address of your Server.
-
-
Access Your Domain Management Console:
-
Log into the account where you purchased your domain name (e.g., Namecheap, GoDaddy, Cloudflare, NameSilo).
-
Go to your Domain List or Dashboard.
-
Select your domain and look for DNS Management, Manage DNS, or Advanced DNS.
-
-
Add/Update the A Records:
To direct both your root domain (yourdomain.com) and the www subdomain (www.yourdomain.com) to your server:
-
Root Domain Record:
-
Type:
A -
Host / Name:
@(or leave blank depending on the provider) -
Value / Target / Address:
[Your VPS IPv4 Address] -
TTL:
Automaticor3600(1 hour)
-
-
WWW Subdomain Record:
-
Type:
A(orCNAME) -
Host / Name:
www -
Value / Target:
[Your VPS IPv4 Address](oryourdomain.comif using CNAME) -
TTL:
Automaticor3600
-
-
Note: If existing A Records with host
@orwwware present, edit them or delete them before creating new ones to avoid conflicts.
-
-
Verify DNS Propagation:
DNS changes take time to push across global servers—usually 5 to 30 minutes, though it can occasionally take up to 24–48 hours.
To verify your domain is pointing to your VPS correctly:
-
Open your command line / terminal and run:
ping yourdomain.com(Check if the returned IP matches your VPS IP).
-
Alternatively, use online tools like DNSChecker.org to monitor global propagation status.
-