How to verify Domain Ownership [closed]

心已入冬 提交于 2019-12-07 10:36:29

问题


I am working on a site where people will submit their domain, And I want to know how will they confirm/verify their domain by DNS records. My site is in PHP


回答1:


Look at the use of CNAME's. Getting users to create custom CNAME's on their DNS records, and having your site try to access these is one way of verifying the ownership of a domain.

Another would be a bit more work, but getting users to add a Meta tag to their site, and again have your page attempt to access and read this Meta information to prove that they have access to the page - Thus verifying ownership.

UPDATE:

dns-get-record

Please see HERE for PHP doccumentation on getting and checking the DNS records (CNAME being one of these)



来源:https://stackoverflow.com/questions/16634622/how-to-verify-domain-ownership

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!