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?

9
  • Have you checked .htaccess? May 8, 2014 at 9:08
  • Yep, .htaccess is quite normal. It only has code to rewrite to http://www.mysite.com if the user requests http://mysite.com.
    – Gavin
    May 8, 2014 at 9:17
  • How about this May 8, 2014 at 9:47
  • dev.mysite.com already doesn't exist (only on my computer). That's why Google denied my AdSense application, because they said dev.mysite.com doesn't exist. Blocking that subdomain won't do anything because the subdomain already doesn't exist.
    – Gavin
    May 8, 2014 at 10:06
  • Are you sure you put the correct URL in your application? I suspect you accidentally pasted the wrong thing when you applied. You can apply again and make sure you have it right. May 8, 2014 at 10:15

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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