Discussion:
Creating CNAME Resource Records (RR) to Redirect Readers to My Wordpress and Blogspot Blogs Don't Work
Turritopsis Dohrnii Teo En Ming
2018-08-08 08:28:41 UTC
Permalink
Good afternoon from Singapore,

I have 2 redundant blogs, one at wordpress.com (example.wordpress.com) and another at blogspot.sg (example.blogspot.sg).

I have a Domain Name Service (DNS) server (ns1 and ns2) at home in Singapore.

I would like to create two CNAME resource records to redirect readers to my wordpress and blogspot blogs respectively.

For example,

CNAME: wordpress.mydomain.com REDIRECT to example.wordpress.com

CNAME: blogspot.mydomain.com REDIRECT to example.blogspot.sg

But the CNAME records I have created and redirection don't work at all. Did I miss out anything?

Please advise.

Thank you very much.

===BEGIN SIGNATURE===
Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017
[1] https://tdtemcerts.wordpress.com/
[2] http://tdtemcerts.blogspot.sg/
[3] https://www.scribd.com/user/270125049/Teo-En-Ming
===END SIGNATURE===

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Sten Carlsen
2018-08-08 13:04:28 UTC
Permalink
Post by Turritopsis Dohrnii Teo En Ming
Good afternoon from Singapore,
I have 2 redundant blogs, one at wordpress.com (example.wordpress.com) and another at blogspot.sg (example.blogspot.sg).
I have a Domain Name Service (DNS) server (ns1 and ns2) at home in Singapore.
I would like to create two CNAME resource records to redirect readers to my wordpress and blogspot blogs respectively.
For example,
CNAME: wordpress.mydomain.com REDIRECT to example.wordpress.com
CNAME: blogspot.mydomain.com REDIRECT to example.blogspot.sg
But the CNAME records I have created and redirection don't work at all. Did I miss out anything?
The CNAME RRs do work:

; <<>> DiG 9.10.6 <<>> blogspot.teo-en-ming.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22888
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 9

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;blogspot.teo-en-ming.com.    IN    A

;; ANSWER SECTION:
blogspot.teo-en-ming.com. 3600    IN    CNAME    tdtemcerts.blogspot.sg.
tdtemcerts.blogspot.sg.    600    IN    CNAME   
blogspot.l.googleusercontent.com.
blogspot.l.googleusercontent.com. 300 IN A    216.58.213.193

;; AUTHORITY SECTION:
googleusercontent.com.    66612    IN    NS    ns1.google.com.
googleusercontent.com.    66612    IN    NS    ns4.google.com.
googleusercontent.com.    66612    IN    NS    ns2.google.com.
googleusercontent.com.    66612    IN    NS    ns3.google.com.

;; ADDITIONAL SECTION:
ns2.google.com.        18596    IN    A    216.239.34.10
ns2.google.com.        18596    IN    AAAA    2001:4860:4802:34::a
ns1.google.com.        18596    IN    A    216.239.32.10
ns1.google.com.        18596    IN    AAAA    2001:4860:4802:32::a
ns3.google.com.        18596    IN    A    216.239.36.10
ns3.google.com.        18596    IN    AAAA    2001:4860:4802:36::a
ns4.google.com.        18596    IN    A    216.239.38.10
ns4.google.com.        18596    IN    AAAA    2001:4860:4802:38::a

;; Query time: 1900 msec
;; SERVER: 192.168.16.20#53(192.168.16.20)
;; WHEN: Wed Aug 08 14:58:27 CEST 2018
;; MSG SIZE  rcvd: 403


The problem you experience is that Google sees the original request:
http://blogspot.teo-en-ming.com/

and respond:

*404.* That’s an error.

The requested URL |/| was not found on this server. That’s all we know.


You probably have to make a redirect from a web server that you own so
the request can be corrected to the appropriate address (header
information) to show Google.
Post by Turritopsis Dohrnii Teo En Ming
Please advise.
Thank you very much.
===BEGIN SIGNATURE===
Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017
[1] https://tdtemcerts.wordpress.com/
[2] http://tdtemcerts.blogspot.sg/
[3] https://www.scribd.com/user/270125049/Teo-En-Ming
===END SIGNATURE===
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
Matus UHLAR - fantomas
2018-08-08 13:43:17 UTC
Permalink
Post by Turritopsis Dohrnii Teo En Ming
I have 2 redundant blogs, one at wordpress.com (example.wordpress.com) and another at blogspot.sg (example.blogspot.sg).
I have a Domain Name Service (DNS) server (ns1 and ns2) at home in Singapore.
I would like to create two CNAME resource records to redirect readers to my wordpress and blogspot blogs respectively.
For example,
CNAME: wordpress.mydomain.com REDIRECT to example.wordpress.com
CNAME: blogspot.mydomain.com REDIRECT to example.blogspot.sg
But the CNAME records I have created and redirection don't work at all. Did I miss out anything?
what do you mean they do not work?

Note that the web server handling example.wordpress.com MUST know that the
wordpress.mydomain.com is alternative name to example.wordpress.com,
OR you must configure http server for wordpress.mydomain.com anywhere just to
send HTTP redirect to example.wordpress.com.

CNAME does not cause HTTP redirects and no HTTP server I know parses CNAME
just to know which site you mean.
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I intend to live forever - so far so good.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Loading...