it won't let me add domain name

Digital Ocean doesn’t have any restriction on domain name, right? I redirected my domain name from Bluehost to digital ocean 4 hours ago. When i tried to add domain to my droplet, it always gave this error message saying: Name only valid hostname characters are allowed.(a-z, A-Z, 0-9, ., _and - ) Or a single record of “@”. My domain name is I don’t think it is abnormal. Can someone help me here? Thanks.

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.

that was the instruction i was following. I finished step 1 and 2, and i double checked with my domain name company Namecheap that my setting was correct. Then step 3 just won’t go through. However, I never tested step 2. Do i just enter WHOIS into my CMD windows command line tool? It says it couldn’t recognize WHOIS as a command. Not sure what to do now. Please advise. Thanks.

I assume you’re trying to create a domain record, and point it at your droplet. You have to do this on the networking tab, not on the droplets page; that’s how you change the hostname. Check out this tutorial on how to do that.