Report this

What is the reason for this report?

problem with hostnames and emails

Posted on July 17, 2016

recently acquired a Droplet. Discourse in the install.

And now I have problems, I want to ride an email service in the droplet. In the installation tells me run: / etc / hostname. but I tell you I do says “Permission denied” (Yes, i use login by SSH Key)

http://mindshat.xyz/uploads/default/original/1X/0b84f47a8d5c954706c159c1cc7d8c57fb7625f8.JPG

Besides I think the system host and domain in cpanel digitalocean not used at all, try using dns mailGun but never checked.

Now, it is assumed that it must create hostname here?

http://mindshat.xyz/uploads/default/original/1X/4cef218cde27a0227a5f0706924251a0b2e8c4c3.JPG

or inside as a cname? http://mindshat.xyz/uploads/default/original/1X/aafb6301883eeef3b995421eaa406347f55070d3.JPG use the IP or an @? All this did not see it anywhere in the installation documentation. Please help me



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!

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.

This question was answered by @MichaelOjeda:

/etc/hostname is just a file. You’re getting a permission denied response, because it’s not executable, not that it would “run” anyway. You can get your hostname by running “uname -n” - although I think that’s not what you want. I think you mean domain name.

View the original comment

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.