• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

DNS www prefix external DNS

M

MaartenB

Guest
Hi I have a domain that uses an external DNS.

I created the domain in plesk like: domain.nl
This works as it should, now I want to have the www.domain.nl to be also working.

How do I configure plesk and dns to get both the domain.nl and www.domain.nl working.

I tried to create a A record in the external dns for www.domain.nl and then point that to my server.
this works so far that the www.domain.nl request ends at my server, but it ends up at the default plesk site, and not at my domainsite. Ik seems that plesk/iis does not recognize my www.domain.nl.

Hope someone can help


Thanks in advance
 
Do you have the same CNAME record on your external DNS server?
 
Check what your DNS server works correctly and there is CNAME record with

$ dig @IP_OF_DNS_SERVER yourdomain.com
 
This is what I get from the lookup

DNS records
name class type data time to live
www.cfrcomputers.nl IN CNAME cfrcomputers.nl 3600s (01:00:00)
cfrcomputers.nl IN A 87.233.20.234 86400s (1.00:00:00)
cfrcomputers.nl IN NS ns2.openprovider.be 86400s (1.00:00:00)
cfrcomputers.nl IN TXT v=spf1 include:spf.microsoftonline.com ~all 86400s (1.00:00:00)
cfrcomputers.nl IN NS ns3.openprovider.eu 86400s (1.00:00:00)
cfrcomputers.nl IN MX preference: 0
exchange: mail.global.frontbridge.com
86400s (1.00:00:00)
cfrcomputers.nl IN SOA server: ns1.openprovider.nl
email: dns.openprovider.eu
serial: 2011031500
refresh: 21600
retry: 3600
expire: 604800
minimum ttl: 3600
86400s (1.00:00:00)
cfrcomputers.nl IN NS ns1.openprovider.nl 86400s (1.00:00:00)
234.20.233.87.in-addr.arpa IN PTR 234-020-233-087.static.sprite-it.nl 86383s (23:59:43)

-- end --
 
Same here

IM TIRED OF IT.

All DNS are ok, exactly like MaartenB user.

I cannot get it working...

Outside DNS provide by REGISTRO.BR (Brazilian authority registrar).

[root@srv01 conf]# dig @200.160.0.11 www.live1.com.br

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @200.160.0.11 www.live1.com.br
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32058
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;www.live1.com.br. IN A

;; ANSWER SECTION:
www.live1.com.br. 86400 IN CNAME live1.com.br.
live1.com.br. 86400 IN A 50.22.210.100

;; AUTHORITY SECTION:
live1.com.br. 86400 IN NS a.sec.dns.br.
live1.com.br. 86400 IN NS b.sec.dns.br.

So what now?

At plesk I've configured both DNS's a.sec.dns.br and b.sec.dns.br....

After query though plesk, it says:

Test DNS zone live1.com.br on a.sec.dns.br.
Info
Name: live1.com.br Address: 50.22.210.100 live1.com.br nameserver = b.sec.dns.br. live1.com.br nameserver = a.sec.dns.br. live1.com.br mail exchanger =0 aspmx.l.google.com. live1.com.br mail exchanger =5 alt1.aspmx.l.google.com. live1.com.br mail exchanger =5 alt2.aspmx.l.google.com. live1.com.br mail exchanger =10 aspmx2.googlemail.com. live1.com.br mail exchanger =10 aspmx3.googlemail.com. live1.com.br mail exchanger =10 aspmx4.googlemail.com. live1.com.br mail exchanger =10 aspmx5.googlemail.com. www.live1.com.br canonical name = live1.com.br. *** Ok : Domain A live1.com.br record is valid. *** : Must be - 50.22.210.100, now - 50.22.210.100 *** Warning : Domain MX record live1.com.br IN MX 0 aspmx.l.google.com. is not properly resolved. *** Warning : Domain MX record live1.com.br IN MX 5 alt1.aspmx.l.google.com. is not properly resolved. *** Warning : Domain MX record live1.com.br IN MX 5 alt2.aspmx.l.google.com. is not properly resolved. *** Warning : Domain MX record live1.com.br IN MX 10 aspmx2.googlemail.com. is not properly resolved. *** Warning : Domain MX record live1.com.br IN MX 10 aspmx3.googlemail.com. is not properly resolved. *** Warning : Domain MX record live1.com.br IN MX 10 aspmx4.googlemail.com. is not properly resolved. *** Warning : Domain MX record live1.com.br IN MX 10 aspmx5.googlemail.com. is not properly resolved. *** Ok : Domain www CNAMe record is valid.


Why Plesk team didn't answered the last post???
 
Back
Top