• 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.

Question Little help with DNS, Nameserver

Hey how are you?

Do you know to setup ns1 and ns2 to host multiple sites? I have a vps too and 2 ip address

Everything works well but when I try to access webmail.domain.com I can't

Any idea?
You should probably check what Rasp just said.

But anyway, depends on the registrar. You just change the nameservers to something like;

ns1.domain.com. A 12.345.67.8
ns2.domain.com. A 98.765.543.21

where domain.com (with the trailing dot!) is your domain and change the IP's to your VPS IP's.

But just make sure that everything is pointed to right address.
I use some of the following records:

Code:
ipv4.domain.com.                    A    12.345.67.8
_domainkey.domain.com.            TXT    o=-
default._domainkey.domain.com.    TXT    v=DKIM1; p=VERYLONGNUMBER;
mail.domain.com.                    A    12.345.67.8
domain.com.                        TXT    v=spf1 +a +mx ip4:12.345.67.8 a:h1234567.stratoserver.net a:domain.com ~all
www.domain.com.                    CNAME    domain.com.
domain.com.                        MX (10)    mail.domain.com.
_dmarc.domain.com.                TXT    v=DMARC1; p=none; rua=mailto:[email protected]
domain.com.                        A    12.345.67.8
ftp.domain.com.                    A    12.345.67.8
webmail.domain.com.                A    12.345.67.8

I just like to point out, I am no expert at all.
 
Does anyone have any experience enabling DKIM for all domains?

I tried to enable it following the steps in this link.

The first step works, but the second:

for domain in $(plesk db -Ne 'SELECT name FROM domains WHERE parentDomainId=0;'); do plesk bin domain_pref --update $domain -sign_outgoing_mail true; done

Isn't working, its giving me the error: "bash: syntax error near unexpected token `do' "

Anyone know why it isn't working?
 
Wow, stupid me. I thought that a sudo command would suffice. But it didn't. I switched to root and it worked!

Thanks! DKIM's are enabled!
 
Back
Top