Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Recently we had to get some DDOS protection for our website because of the large attacks we were seeing after getting a bit of popularity.

We handed over our domain and hosting information to our DDOS protection provider. It worked perfectly but I have a question.

On our DNS records we have the Host and Answer and Type.

The host has our domain name there. The answer is this: SOMETEXTXXXX.dv.googlehosted.com.

And when I copy and paste it into my browser it gives me a 404 error. But our website still loads and functions as it should. I don't understand why it would need this?

I asked them about this and they said it is a method for DDOS protection and the other IPs are the reverse proxy (the other IPs give a 404 error too). Can anyone expand on this more please.

How does all this tie in together and make the internet browser know where to point the person with all these reverse proxies and stuff I don't understand.

Here is an image for reference: enter image description here

share|improve this question

1 Answer 1

Here is what happens when a user makes a request to your site:

  1. They do a DNS lookup for yourdomain.example.com which tells them it is a CNAME of SOMETEXTXXXX.dv.googlehosted.com
  2. They do a DNS lookup for SOMETEXTXXXX.dv.googlehosted.com and get the IP address 1.2.3.4
  3. The browser opens a HTTP connection to 1.2.3.4 and sends the header: host: yourdomain.example.com
  4. The server at SOMETEXTXXXX.dv.googlehosted.com recognizes it as a request for yourdomain.example.com
  5. It checks that the request is not part of a denial of service.
  6. It opens an HTTP connection to your server and retrieves the page.
  7. It sends the page back to the client.

This DDOS prevention proxy is likely configured to serve multiple sites. That is why when you make a request at it with its own host name, you get a 404. In that case, it doesn't know where it should get the content from.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.