• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Setting Up nameservers outside panel for domains -VPS

SugavanasS

Basic Pleskian
Hello,

i have a vps with plesk installed. The vps has only one IP. So now i have my domain, example.com.

It's in namecheap and i have setted up nameserver records, ns1.example.com and ns2.example.com [both pointing to that one IP]

when i point another domain to that nameservers, i directly get

This web page is not available

Less
The web page at http:/example1.co/ might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_NAME_RESOLUTION_FAILED.

I don't really know why ?
But when i edit the dns record of that example1.co to point to my ip, i get to see the plesk default page.

Before when i was running cpanel on reseller hosting, i did the same way of editing my nameservers ip to one same ip and it worked.

Is it a problem with 1 IP ? Should i have more IPS ? Is there a place to set the nameservers in Plesk ? Like in WHM, it needs to be set in account someplace :O

Please i need help, i got the same problem when using Zpanel. I even tried adding nameservers in my other domains but still no luck :/
 
Although in theory you should have more than one IP, DNS will still work fine if you have both your nameservers pointing to the same IP.

Please take a look at http://forum.parallels.com/showthread.php?294714-Plesk-11-5-Dns-Problem-First-Time-install

Your problem may be down to the way Plesk's DNS is configured or down to the way you created your nameservers.

*** The simplest way to see what's wrong is to use a DNS checking service like www.dnsreport.com

You say "when I edit the DNS record of that example1.co to point to my ip", what do you mean exactly?
Do you mean in your domain name registrar's DNS configuration panel? Are you sure you have done it correctly? You just need www.domain.tld with an A record pointing to your Plesk box, and NO OTHER CHANGES (i.e. do not make changes to nameservers).
[This is only for the website - you do need to make further changes if you want email hosted too]

When you change the nameservers associated with a domain, you are saying "the IP address(s) these nameservers point to handles the DNS for this domain". So if you do change them to your nameservers then Plesk will handle DNS, your registrars DNS will be ignored, and therefore Plesk has to be configured with the correct DNS records.
 
Although in theory you should have more than one IP, DNS will still work fine if you have both your nameservers pointing to the same IP.

Please take a look at http://forum.parallels.com/showthread.php?294714-Plesk-11-5-Dns-Problem-First-Time-install

Your problem may be down to the way Plesk's DNS is configured or down to the way you created your nameservers.

*** The simplest way to see what's wrong is to use a DNS checking service like www.dnsreport.com

You say "when I edit the DNS record of that example1.co to point to my ip", what do you mean exactly?
Do you mean in your domain name registrar's DNS configuration panel? Are you sure you have done it correctly? You just need www.domain.tld with an A record pointing to your Plesk box, and NO OTHER CHANGES (i.e. do not make changes to nameservers).
[This is only for the website - you do need to make further changes if you want email hosted too]

When you change the nameservers associated with a domain, you are saying "the IP address(s) these nameservers point to handles the DNS for this domain". So if you do change them to your nameservers then Plesk will handle DNS, your registrars DNS will be ignored, and therefore Plesk has to be configured with the correct DNS records.


I mean changing dns with registrar works. But changing the nameservers actually don't work. I had a domain in Ipage, so i added two ns records in that domain. But still when i add that ns records as nameservers to other domains, it doesn't works.
 
and is there somekind of thing inside plesk to say whatnameservers should be pointed ?

I don't want to say my domain, ips in public. Please add me on skype : kks21199 if you could really help me with it. I will be really thankful
 
and is there somekind of thing inside plesk to say whatnameservers should be pointed ?

I don't want to say my domain, ips in public. Please add me on skype : kks21199 if you could really help me with it. I will be really thankful
 
Ok, i was reading stuffs online about it.

I saw this, https://www.namecheap.com/support/knowledgebase/article.aspx/768/10/

I had reseller hosting with cpanel/whm before and the thing i did is created my own nameserver in nameserver registration in namecheap to point to that one IP. NS1 and NS2.mydomian.com to that one ip and it worked fine.

Now i did the same steps but it doesn't works. As in the link i gave above, it says somethings about creating A records in dns. and i saw the same thing in your post [the thread link you gave me]

But i am actually unsure on what to do. So does it means that i should point my domain to my registrar's nameserver and edit the records ? and i won't be able to point it to my nameserver forever ?
 
If your nameservers are ns1.example.com and ns2.example.com and at your registrar you pointed them both to 11.22.33.44 (your Plesk server) then:
In Plesk, in the DNS settings for example.com you need the following DNS records:

ns1.example.com A 11.22.33.44
ns2.example.com A 11.22.33.44
example.com NS ns1.example.com
example.com NS ns2.example.com
example.com A 11.22.33.44
www.example.com A 11.22.33.44 (or you can use www.example.com CNAME example.com)
mail.example.com A 11.22.33.44
example.com MX 10 mail.example.com
11.22.33.44 PTR example.com

There are other records you can add too, like ftp.example.com and webmail.example.com which should be A records pointing to 11.22.33.44 or CNAMES pointing to example.com.

*** Plesk automatically creates your DNS records for you when you add a domain, based on the DNS Template you have configured (Tools&Settings). So you should see most of these already. Not all of them. But most of them. You will see an NS record already, for example, but you should remove that.

I am assuming that the namservers you have set example.com to use (via your registrar's control panel) are ns1.example.com and ns2.example.com
If this is not the case (e.g. you are using your registrar's DNS for example.com instead) then example.com NS ns1.example.com and example.com NS ns2.example.com should be changed to point to your registrar's nameservers instead, but otherwise the records should be the same. Also, again if you are not using Plesk for the DNS of example.com, you should also switch off DNS for that domain in Plesk.

For my-hosted-domain.com which you want to host in Plesk, the records should be similar to what I have described, but should not include the A records for ns1/ns2 and there should be no PTR. Like this:

my-hosted-domain.com NS ns1.example.com
my-hosted-domain.com NS ns2.example.com
my-hosted-domain.com A 11.22.33.44
www.my-hosted-domain.com A 11.22.33.44 (or you can use www.my-hosted-domain.com CNAME my-hosted-domain.com)
mail.my-hosted-domain.com A 11.22.33.44
my-hosted-domain.com MX 10 mail.my-hosted-domain.com
(and webmail, and FTP and anything else you might need)


And of course you have to configure my-hosted-domain.com to use ns1.example.com and ns2.example.com as nameservers via the domain registrar's control panel.

Does this help at all?

You can edit the DNS Template in Plesk to add <domain> NS ns1.example.com (and ns2) to get them added automatically every time you add a domain to Plesk. You should also edit it to remove the basic NS record it adds by default, and the PTR record it also adds by default, as these are not needed.
 
Back
Top