Home VPS How to pointing a Domain to your VPS IP address

How to pointing a Domain to your VPS IP address

Last updated on Aug 31, 2026

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.

  1. 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.

  2. 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.

  3. 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: Automatic or 3600 (1 hour)

    • WWW Subdomain Record:

      • Type: A (or CNAME)

      • Host / Name: www

      • Value / Target: [Your VPS IPv4 Address] (or yourdomain.com if using CNAME)

      • TTL: Automatic or 3600

    • Note: If existing A Records with host @ or www are present, edit them or delete them before creating new ones to avoid conflicts.

  4. 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.