Mobile app version of vmapp.org
Login or Join
Chiappetta492

: Unable to reach googlewebmasterstools.html file using DNS name, but able to access via IPADDRESS Note : Asked this question on wordpress.stackexchange.com, it was recommended to ask here. I am

@Chiappetta492

Posted in: #GoogleSearchConsole #Wordpress

Note : Asked this question on wordpress.stackexchange.com, it was recommended to ask here.

I am trying to get webmastertools to verify my ownership on my domain. swipetelecom.com.

Issue :
When I try to reach the googlewebmastertools.html file, using www.swipetelecom.com/googlewebmasterstools.html. I get a 404


Not Found

The requested URL /googlewebmasterstools.html was not found on this server.


But :
I am able to reach the googlewebmasterstools.html file using the 1.2.3.4/wordpress/googlemastertools.html.

I am using a local domain manager (not godaddy). I have setup Frame Forwarding at the domain manager. Does it have something to do with this ?

This is my .htaccess (in my /var/www/html/wordpress folder), does it have anything to do with this ?

<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


My wordpress folder and all their contents are owned by www-data.

What am I missing here ?

And yes, I have tried all other methods of verification, but none of them work too. This is the most logical question I could ask here.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Chiappetta492

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

Frames will not do what you are trying to achieve. You are iframing content from another server/ip (server 2) which is completely separate from the server/ip (server 1) hosting your index page with the frame on it. So since you have your Google verification file on server 2 you will be unable to call that path from server 1 since nothing is actually located there.

I would recommend making /wordpress/ the web root for server 2 then just changing your A record for swipetelecom.com to 54.169.149.94 from 180.149.240.169.

Alternatively you could just upload your Google verification file to server 1 (180.149.240.169).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme