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.".