Reputation: 67
My WordPress website is hosted on Google Cloud Platform running Unix on Apache+Varnish (Bitnami Image). I have wp-rocket plugin installed and my dns is being managed by Cloudflare.
The domain and server IP both are showing in search results.
What could causing server to show ip address in Google search results instead of domain?
Upvotes: 3
Views: 5206
Reputation: 134
Make sure you have your domain pointing to the server you are hosting the WP instance on.
DNS records should have an A record pointing to the server IP.
Also, depending on whether you pointed your domain to the WP instance sometime after creation, you just need to wait for Google to crawl your site again.
If you set up a Google Webmasters account (now called Google Search Console), you can force a new crawl. https://support.google.com/webmasters/answer/6065812?hl=en
Upvotes: 1