I can not add a domain to the droplet.
I see an error all the time - Domain ‘dzerkalo.info’: name already exists.

What to do?

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.

×
2 answers

Hi @dzerkalozt,

It really depends on the Web Server you are using - Apache/Nginx. However the error itself would state you actually have it added to the configuration.

If you are using Apache, here is an article which might help you with how to configure the conf file - https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

If you are using Nginx, give this article a read :

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

Don’t mind that it’s for Ubuntu 16.04, it should work as well on 18.04.

Additionally, if you actually have any other configuration on your droplet, let me know and I’ll provide you with steps what to check and how to resolve your issue.

Regards,
KDSys

by Brennen Bearnes
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 16.04 server.

Hello, all

If you’re trying to add the domain name in your account you can make sure that the domain name is not already added in different DO account of yours or in another team as well.

The system performs a DNS lookup to see if the domain has already been added to DigitalOcean. If it has, you’ll receive a message that says Data domain example.com: Name already exists. If the domain has not been previously added to DigitalOcean’s DNS service, it will be added.

In our public community, we aim to answer open questions about anything SysAdmin, DigitalOcean and beyond. However, we make every attempt to keep personal information safe and so don’t ever access personal account information here. This means we can’t provide help with any account or billing-related issues.

Please reach out to our amazing support team who will be more than happy to assist you with your account issue! :)

https://www.digitalocean.com/support/

Hope that helps!
Regards,
Alex

Submit an Answer