Mobile app version of vmapp.org
Login or Join
Karen161

: Submitting sitemap to Google Search Console: "General HTTP error: Domain name not found" I'm having a lot of trouble getting google search console to work with my wordpress website. I'm hosting

@Karen161

Posted in: #Dns #Domains #GoogleSearchConsole #Sitemap

I'm having a lot of trouble getting google search console to work with my wordpress website. I'm hosting the website myself on VPS.
Everytime i try to insert xml sitemap i get


General HTTP error: Domain name not found.


These are my DNS records:
@ IN A 109.235.71.113
www IN A 109.235.71.113


This is my htaccess:

# 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>

# END WordPress


Robots.txt is alsa practically empty:

User-agent: *
Disallow: /wp-admin/


When i try to add sitemap to search console, it throws out this error:

The error is basically the title, with description saying something along lines:


"Error while trying to acces Sitemap file. Please check if Sitemap, is as we want and is openable in it's place. You can send the request after.".

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Karen161

1 Comments

Sorted by latest first Latest Oldest Best

 

@Rivera981

If your Domain URL already resolves to your local server and is accessible by everyone first remove it completely from Google Webmaster Tools and then re-submit it.

While submiting your Domain, make sure to put in begining of the domain because your local server probably does not have your domain set by default properly to work without subdomain. (Try also the vice-versa scenario in case it still does not work)

After you re-submit it and complete successfully the verification process, create your XML Sitemap file using an online XML Sitemap generator (like XML-Sitemaps.com), replace your current XML Sitemap file and re-submit it through Google Webmaster Tools.



Note: Before everything, make sure that you can access your XML Sitemap file through your browser, for example check if you can see www.yourdomain.com/yoursitemap.xml

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme