4

I'm very confused. I'm trying to get my site (let's just say www.example.com) approved for Google AdSense. I submitted the application using "www.example.com" and I got a reply from AdSense saying my application was rejected because "dev.example.com" was unavailable.

"dev.example.com" is my local virtual host that is set up in Apache and my Windows hosts file. It is NOT a public URL and will not work anywhere except my computer. My site uses relative paths, so "dev.example.com" is not in the source code anywhere.

My two questions are HOW is AdSense getting my local virtual host URL, and WHY is it using that URL for approval instead of the URL I submitted in my application?

Stephen Ostermiller
  • 99,822
  • 18
  • 143
  • 364
Gavin
  • 247
  • 4
  • 10

1 Answers1

1

The AdSense crawler wouldn't know about your dev site unless you told it about it somehow. Either:

  • You submitted your dev site accidentally when applying for AdSense
  • Your live site links to your dev site somehow

To fix this:

  1. Resubmit your AdSense application and make sure to specify the correct site
  2. Run a crawler against your own live site and make sure it never tries to get to your dev site.
Stephen Ostermiller
  • 99,822
  • 18
  • 143
  • 364