<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[VPS e DNS]]></title><description><![CDATA[<p dir="auto">Salve.<br />
Ho un dominio registrato con sola gestione DNS presso un fornitore, e il sito su un VPS presso altro fornitore.<br />
Pur avendo scartabellato non poco, non mi sono chiari i meccanismi di impostazione dei DNS.<br />
Sono riuscito a mettere online il sito semplicemente impostando sui DNS del dominio un record [miodominio.tld A IP_del_vps], ma vorrei ottenere lo stesso risultato usando il nameserver del VPS.<br />
Se ho ben capito ci sono tre aree su cui fare impostazioni:<br />
a) DNS sul nameserver del VPS;<br />
b) DNS su un nameserver già online sul quale si possa smanettare;<br />
c) DNS del dominio;<br />
ma non mi è chiaro quali record (minimi) aggiungere e perché.<br />
Spero in qualche volentoroso che riesca a chiarirmi le idee.<br />
Grazie.</p>
]]></description><link>https://dev.connect.gt/topic/139593/vps-e-dns</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 04:51:26 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/139593.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Nov 2010 17:38:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VPS e DNS on Sun, 21 Nov 2010 12:40:46 GMT]]></title><description><![CDATA[<p dir="auto">La risposta non e' fatta per non capire</p>
<p dir="auto">bind9=gestione dns=gestione zone</p>
<p dir="auto">zona=configurazione dominio con tutti i record</p>
<p dir="auto">Ciao</p>
]]></description><link>https://dev.connect.gt/post/951248</link><guid isPermaLink="true">https://dev.connect.gt/post/951248</guid><dc:creator><![CDATA[vhosting]]></dc:creator><pubDate>Sun, 21 Nov 2010 12:40:46 GMT</pubDate></item><item><title><![CDATA[Reply to VPS e DNS on Sun, 21 Nov 2010 09:30:39 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>vhosting</strong></p>
<p dir="auto">Devi prima configurare il VPS affinche' utilizzi correttamente il bind9 con le relative zone...</p>
<p dir="auto">Il vps deve avere 2 ip per configurare due ns sul vps oppure 1 ip con 1 ip affidato ad un servizio dns secondario (sarebbe megliore come soluzione)</p>
</blockquote>
<p dir="auto">Sinceramente questa risposta non mi è stata utile. Sembra scritta per non farsi capire.<br />
Ho trovato questa discussione<br />
<a href="http://forums.whirlpool.net.au/archive/1248384" rel="nofollow ugc">forums.whirlpool.net.au/archive/1248384</a><br />
dalla quale quoto la parte che mi sembra affrontare bene la questione:</p>
<blockquote>
<p dir="auto">How many domains to host on the VPS?</p>
<p dir="auto">1: For a single domain, you dont need to have your own DNS server. Log in your domain register's control panel and change the "appropriate record" to the IP of your VPS. The "appropriate records" are something known as, 'A' (for web) , 'CNAME', 'mx' (for mail) etc.</p>
<ol start="2">
<li>
<p dir="auto">If you have more than one domains, you still can avoid having own DNS server by doing the same (1) for each of the domain. The webserver program (Apache, lighttpd or nginx) can handle multiple domains on single IP.</p>
</li>
<li></li>
</ol>
<p dir="auto">a)<br />
If you decide to use your own DNS (for branding's sake or other reason) you need to nominate one domain as the 'main' domain, and get hold of at least two IP addresses. Then loging into the domain control of that domain you would need to register what is called "child nameserver"/glue dns/custom nameserver etc. These are in fact subdomain/host of the chosen domain. When doing so, you would need to provide the IP addresses.</p>
<p dir="auto">For example, you choose <a href="http://xyz.com" rel="nofollow ugc">xyz.com</a> as your main domain. Then in the domain control panel of <a href="http://xyz.com" rel="nofollow ugc">xyz.com</a> you got have</p>
<p dir="auto"><a href="http://ns1.xyz.com" rel="nofollow ugc">ns1.xyz.com</a> -&gt; your ip addess (first one)<br />
<a href="http://ns2.xyz.com" rel="nofollow ugc">ns2.xyz.com</a> -&gt; your ip address (second one)</p>
<p dir="auto">something like this. You may use the names, dns1/dns2 or something you prefer.</p>
<p dir="auto">b)<br />
In your VPS you need to install+run one of the DNS software. Large number of hosting company use Bind, though for smaller VPS, tinydns, mydns etc are more suitable. Depending on the software you choose there is a great deal of instructions on how to setup a domain. In my opinion tinydns is small and easy to setup.</p>
<p dir="auto">c)<br />
Now for each of the domain you want to host on the vps, change the nameserver to your own one. For example, to host, <a href="http://abc.com" rel="nofollow ugc">abc.com</a>, go to it's domain control and set the nameserver to ns1/ns2 . <a href="http://xyz.com" rel="nofollow ugc">xyz.com</a>. (Please note that you would need to do that for <a href="http://xyz.com" rel="nofollow ugc">xyz.com</a> itself too, if you want a site of <a href="http://xyz.com" rel="nofollow ugc">xyz.com</a>)</p>
<ol start="4">
<li>There are paid service you could use (<a href="http://xname.org" rel="nofollow ugc">xname.org</a> is one)</li>
</ol>
<p dir="auto">In conclusion, avoid using own dns unless really really need to have them.</p>
</blockquote>
<p dir="auto">Che tradotto in pratica chiamando "<a href="http://dominioponte.it" rel="nofollow ugc">dominioponte.it</a>" il "main domain" chiamato "<a href="http://xyz.com" rel="nofollow ugc">xyz.com</a>" nel post quotato,  diventa:</p>
<p dir="auto">Impostazioni DNS dominioponte, da pannello registrar<br />
<a href="http://ns1.dominioponte.it" rel="nofollow ugc">ns1.dominioponte.it</a>  A vps_ip1  (per pubblicare il nameserver del VPS)<br />
<a href="http://ns2.dominioponte.it" rel="nofollow ugc">ns2.dominioponte.it</a>  A vps_ip2  (per pubblicare il nameserver del VPS)<br />
<a href="http://dominioponte.it" rel="nofollow ugc">dominioponte.it</a> A vps_ip1  (come normalmente necessario)<br />
<a href="http://vvv.dominioponte.it" rel="nofollow ugc">vvv.dominioponte.it</a> A vps_ip1  (come normalmente necessario)<br />
<a href="http://mail.dominioponte.it" rel="nofollow ugc">mail.dominioponte.it</a> A vps_ip1  (come normalmente necessario)<br />
........<br />
<a href="http://dominioponte.it" rel="nofollow ugc">dominioponte.it</a> NS <a href="http://dns1.xxxxxxx.xxx" rel="nofollow ugc">dns1.xxxxxxx.xxx</a>  (come impostato dal registrar)<br />
<a href="http://dominioponte.it" rel="nofollow ugc">dominioponte.it</a> NS <a href="http://dns2.xxxxxxx.xxx" rel="nofollow ugc">dns2.xxxxxxx.xxx</a>  (come impostato dal registrar)</p>
<p dir="auto">Impostazioni DNS miodominio, da pannello registrar anche diverso dal  precedente<br />
<a href="http://miodominio.it" rel="nofollow ugc">miodominio.it</a>  NS <a href="http://ns1.dominioponte.it" rel="nofollow ugc">ns1.dominioponte.it</a>  (sostituisce il nameserver originale del registrar)<br />
<a href="http://miodominio.it" rel="nofollow ugc">miodominio.it</a>  NS <a href="http://ns2.dominioponte.it" rel="nofollow ugc">ns2.dominioponte.it</a>  (sostituisce il nameserver originale del registrar)</p>
<p dir="auto">Impostazioni DNS di miodominio su nameserver del VPS<br />
<a href="http://miodominio.it" rel="nofollow ugc">miodominio.it</a> A vps_ip1  (come normalmente necessario)<br />
<a href="http://vvv.miodominio.it" rel="nofollow ugc">vvv.miodominio.it</a> A vps_ip1  (come normalmente necessario)<br />
<a href="http://mail.miodominio.it" rel="nofollow ugc">mail.miodominio.it</a> A vps_ip1  (come normalmente necessario)<br />
.......</p>
<p dir="auto">E' corretto?  Ma soprattutto, si può fare di meglio?</p>
<p dir="auto">Grazie.</p>
]]></description><link>https://dev.connect.gt/post/951263</link><guid isPermaLink="true">https://dev.connect.gt/post/951263</guid><dc:creator><![CDATA[lucky.lu]]></dc:creator><pubDate>Sun, 21 Nov 2010 09:30:39 GMT</pubDate></item><item><title><![CDATA[Reply to VPS e DNS on Sat, 20 Nov 2010 19:42:15 GMT]]></title><description><![CDATA[<p dir="auto">Devi prima configurare il VPS affinche' utilizzi correttamente il bind9 con le relative zone...</p>
<p dir="auto">Il vps deve avere 2 ip per configurare due ns sul vps oppure 1 ip con 1 ip affidato ad un servizio dns secondario (sarebbe megliore come soluzione)</p>
<p dir="auto">Ciao</p>
]]></description><link>https://dev.connect.gt/post/951247</link><guid isPermaLink="true">https://dev.connect.gt/post/951247</guid><dc:creator><![CDATA[vhosting]]></dc:creator><pubDate>Sat, 20 Nov 2010 19:42:15 GMT</pubDate></item></channel></rss>