how to configure Cpanel/WHM for additional domains?

Hello, i set my 1st and 2nd domain’s(registered in godaddy) dns on godaddy :


On digitaloceans’s dns settings i add both domains and create cname for domains. First one is working well pointing to my digitalocean server,it is also working on cpanel i can use domain.But when i try to add addon domain as my 2nd domain on cpanel it sives an error:

Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.

Should i add another settings(nameservers,ip etc…) on WHM/cpanel to add my second domain on same cpanel account?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You can resolved the error by checking the “Allow Remote Domains” setting. <br> <br>WHM > Tweak Settings > Domains > Allow Remote Domains <br> <br>Though if you’re trying to setup DNS for a domain in CPanel, you could probably just remove it from the DigitalOcean panel.