: 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
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.".
More posts by @Karen161
1 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.