{"id":1978,"date":"2026-01-28T04:10:54","date_gmt":"2026-01-28T04:10:54","guid":{"rendered":"https:\/\/veerhost.com\/docs\/vps\/point-a-domain-to-your-veerhost-vps-a-records-www\/"},"modified":"2026-03-31T17:54:49","modified_gmt":"2026-03-31T17:54:49","slug":"point-a-domain-to-your-veerhost-vps-a-records-www","status":"publish","type":"docs","link":"https:\/\/veerhost.com\/de\/docs\/vps\/point-a-domain-to-your-veerhost-vps-a-records-www\/","title":{"rendered":"Point a Domain to Your VeerHost VPS (A Records + www)"},"content":{"rendered":"<p class=\"wp-block-paragraph\">To make your domain load your VPS website, you need to create DNS A records pointing to your VPS IP address. This works with any domain registrar (GoDaddy, Namecheap, Cloudflare, Google Domains, etc.) and takes between 5 minutes and 48 hours to propagate worldwide.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Find Your VPS IP Address<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to your VeerHost client area \u2014 your VPS IP address is shown on the VPS overview page. It looks like: <code>185.123.45.67<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Log In to Your Domain Registrar<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to wherever you registered your domain (e.g., Namecheap, GoDaddy, Cloudflare). Navigate to the <strong>DNS Management<\/strong> or <strong>DNS Records<\/strong> section for your domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Create the A Records<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You need two A records: one for the root domain and one for www.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Type<\/th><th>Name \/ Host<\/th><th>Value \/ Points To<\/th><th>TTL<\/th><\/tr><\/thead><tbody><tr><td>A<\/td><td>@ (or leave blank)<\/td><td>YOUR_VPS_IP<\/td><td>300 (or Auto)<\/td><\/tr><tr><td>A<\/td><td>www<\/td><td>YOUR_VPS_IP<\/td><td>300 (or Auto)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>YOUR_VPS_IP<\/code> with your actual VPS IP address. Save the records.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Verify DNS Propagation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">DNS changes typically take 5\u201330 minutes, but can take up to 48 hours in some regions. Check propagation using:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>From your terminal:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Check what IP your domain currently resolves to:\nnslookup yourdomain.com\n\n# Or using dig:\ndig yourdomain.com A +short\ndig www.yourdomain.com A +short<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">When both commands return your VPS IP, DNS is working.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also use online tools like <a href=\"https:\/\/veerhost.com\/de\/dns-lookup-tool\/\">VeerHost DNS Lookup<\/a> or dnschecker.org to check propagation from multiple locations around the world.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Configure Your Web Server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once DNS is pointing to your VPS, your web server needs to be configured to serve the domain. See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/veerhost.com\/de\/docs\/vps\/how-to-host-a-website-on-your-vps-nginx-apache-php-ssl\/\">How to Host a Website on Your VPS (Nginx\/Apache + PHP + SSL)<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Using Cloudflare? (Proxy vs DNS Only)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If your domain is on Cloudflare, you&#8217;ll see an orange cloud (proxied) or grey cloud (DNS only) next to your records. For a VPS:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Grey cloud (DNS only)<\/strong> \u2014 traffic goes directly to your VPS IP. Required for non-HTTP ports and for Let&#8217;s Encrypt SSL validation.<\/li>\n<li><strong>Orange cloud (Proxied)<\/strong> \u2014 traffic passes through Cloudflare. Hides your real IP, adds DDoS protection, and CDN caching. Works fine for most websites. SSL should be set to <strong>Full (Strict)<\/strong> in Cloudflare SSL\/TLS settings.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Common Issues<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Still seeing the old website after DNS change?<\/strong> Clear your browser cache with Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac), or open in an incognito window.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Domain resolves to the right IP but shows a web server error?<\/strong> The web server virtual host isn&#8217;t configured yet. Follow the hosting guide linked above.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Only www works but not the root domain (or vice versa)?<\/strong> Make sure you have both the <code>@<\/code> and <code>www<\/code> A records added \u2014 not just one of them.<\/p>","protected":false},"excerpt":{"rendered":"<p>To make your domain load your VPS website, you need to create DNS A records pointing to your VPS IP address. This [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1967,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1978","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/comments?post=1978"}],"version-history":[{"count":3,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1978\/revisions"}],"predecessor-version":[{"id":2286,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1978\/revisions\/2286"}],"up":[{"embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1967"}],"wp:attachment":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/media?parent=1978"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/doc_tag?post=1978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}