Pointing to a Wix Website

Discussion in 'Server Operation' started by Nomis, Jun 21, 2020.

  1. Nomis

    Nomis New Member

    Hi

    I host a domain everything is working fine. I now have been asked to point the website to Wix. I was told to add the following
    Create the following :

    Update your DNS records
    • Edit your DNS records
    • Create new CNAME and A records as follows:
    Type
    Host
    Value


    CNAME
    www.test.co.za
    www55.wixdns.net

    A
    test.co.za
    23.236.62.147

    So here is how my zone now looks
    $TTL 3600
    @ IN SOA ns.*******.co.za. root.test.co.za. (
    2020050101 ; serial, todays date + todays serial #
    7200 ; refresh, seconds
    540 ; retry, seconds
    1209600 ; expire, seconds
    3600 ) ; minimum, seconds
    ;

    mail 3600 A ***.***.***.*
    test.co.za. 3600 A ***.**.***.*
    www 3600 A ***.**.***.*
    test.co.za. 3600 A 23.236.62.147 ( added by me)
    www.test.co.za 3600 CNAME www55.wixdns.net. ( added by me)
    test.co.za. 3600 MX 10 mail.test.co.za.
    test.co.za. 3600 NS sabela.saix.net.
    test.co.za. 3600 NS ns.somedomain.co.za.
    test.co.za. 3600 TXT "v=spf1 a:mail.test.co.za ip4:***.***.***.* ~all"


    But when I do a Cname lookup via MXtoolbox I get a reply that no DNS record exists
    I have looked and i don't get an error on creation.
    Thank you in advance for your assistance
     
  2. ahrasis

    ahrasis Well-Known Member

    They need time to properly propagate, so you most probably just need to be patient.
     
  3. Nomis

    Nomis New Member

    Hi Ahrasis
    I dont even get an answer if i do a dig for it


    ; <<>> DiG 9.10.3-P4-Debian <<>> CNAME www.test.co.za
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21936
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 512
    ;; QUESTION SECTION:
    ;www.test.co.za. IN CNAME

    ;; AUTHORITY SECTION:
    test.co.za. 1799 IN SOA ns.mydomain.co.za. root.test.co.za. 2020062228 7200 540 1209600 3600

    ;; Query time: 343 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    ;; WHEN: Mon Jun 22 08:38:11 SAST 2020
    ;; MSG SIZE rcvd: 102
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. nhybgtvfr

    nhybgtvfr Active Member

    you'll also need to remove these 2 lines:

    test.co.za. 3600 A ***.**.***.*
    www 3600 A ***.**.***.*

    your zone should look like this:

    Code:
    $TTL 3600
    @ IN SOA ns.*******.co.za. root.test.co.za. (
    2020050101 ; serial, todays date + todays serial #
    7200 ; refresh, seconds
    540 ; retry, seconds
    1209600 ; expire, seconds
    3600 ) ; minimum, seconds
    ;
    
    mail 3600 A ***.***.***.*
    test.co.za. 3600 A 23.236.62.147 ( added by me)
    www.test.co.za. 3600 CNAME www55.wixdns.net. ( added by me)
    test.co.za. 3600 MX 10 mail.test.co.za.
    test.co.za. 3600 NS sabela.saix.net.
    test.co.za. 3600 NS ns.somedomain.co.za.
    test.co.za. 3600 TXT "v=spf1 a:mail.test.co.za ip4:***.***.***.* ~all"
    
    note that you left the trailing . out on the name field on the cname, so that name actually resolves as www.test.co.za.test.co.za, you could also just set that name as www, although it won't let you create it like that until you delete the www A record.
     
    Nomis likes this.
  6. ahrasis

    ahrasis Well-Known Member

    Last time I built and tested dns server, I checked for err file of the zone, because if there is, you may need to fix it.

    I can only assume that you got it right and just need to patiently wait for them to properly propagate.

    I simply use CF dns server since I don't have that many records to maintain (just personal ones) plus it is free and faster too.
     
  7. Nomis

    Nomis New Member

     
  8. Nomis

    Nomis New Member

    nhybgtvfr

    Thanks for the assist, it works perfectly
     

Share This Page