Site icon Hip-Hop Website Design and Development

New HTML validation method from GoDaddy (and how to configure using apache)

Not sure who’s to blame, but we have a new HTML validation method from GoDaddy. It is an improvement from the “none HTML validation at all” phase they went through, but took me a while to make it work with apache.
The problem was the dot/hidden directory they request to put your validation code in: /.well-known/pki-validation/godaddy.htmlIn my case there were a couple of reasons why this was difficult:
I didn’t know about the hidden directory (.) block in Apache.
In my case some domains run the whole site over HTTPS, so I needed to make the new rules co-exist with the old HTTPS redirection rules.
I have a mixture of hostings. For some sites I control apache, so I could use Virtual Host configurations. But for others (like the ones running on Acquia) I need to create .htaccess rules.
The solution was much simpler than I anticipated, but quite difficult to debug. Finally I made it work for both environments.
I could have used the DNS ownership verification method, but in my case that means I would need to involve the people owning the domain. In my experience that takes longer and it can become really involved when owner doesn’t know anything about DNS.
Source: New feed