Redirect to Yandex-dns

Please tell me how to configure forwarding from your domain to the community page in the social.network.
October 3rd 19 at 04:31
4 answers
October 3rd 19 at 04:33
If I understand correctly the question, then it may be worth it to do a 301 redirect?
The 301 redirect makes at the level of Apache. I want to know can it be done at the DNS level - danial.Dool commented on October 3rd 19 at 04:36
Only at the DNS level — no. Even if the social network provides, under blogs/community-private domain names, You will likely run up on a virtual Web server, which is necessary in the request header to give something like Host: userтакой-то.livejournal.com otherwise, returns the correct pages will not happen. Therefore, I see no options in addition to maximize on the Web server or the hosting page (the script, the settings of the Web server) who while handling an HTTP redirect to the URL community. - carleton commented on October 3rd 19 at 04:39
October 3rd 19 at 04:35
Aside CNAME record view then
CNAME is a DNS query, it requires a Web-forwarding - danial.Dool commented on October 3rd 19 at 04:38
October 3rd 19 at 04:37
Without a web server (even the simplest) will not do. Look in the direction of free hosting — in my opinion, if you want free forwarding, without in any way.
October 3rd 19 at 04:39
What you want to forward it?
1)the user wants to open the DOE website.PY -> DNS( who is DOE.ru?) -> answer from DNS zone.ru to: Pupkin ru = "ay.PI.SHN.IR"
2)the user BBB.DOE.PY -> open port here to send a request of GET/POST... "ay.PI.SHN.IR:80" usually potr 80 (Apache/nginx/IMS...) -> response server http: 200 you page "Hello world", or no 404 page or redirect to another web server...
Omitted many details because it's obvious...
No, if I'm wrong correct me please, I can not understand.
You can use as your Bob.DOE.ru picnic social.network, then of course the app will open the page from the server where you sent it. - danial.Dool commented on October 3rd 19 at 04:42

Find more questions by tags Domain name systemYandex.DNSDomain names market