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

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

"dev.mysite.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.mysite.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?

share|improve this question
    
Have you checked .htaccess? –  Richard Muthwill May 8 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 at 9:17
    
How about this –  Richard Muthwill May 8 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 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. –  Stephen Ostermiller May 8 at 10:15

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.