2

I have a WordPress site with cPanel (WHM) with VPS. Today I configured Google PageSpeed Service for my WordPress site. After I submitted my WWW domain, PSS automatically added my naked domain (without www) to Hosted By You. PSS works few hours without any issue. Now it's giving me "Fetching content failed due to a DNS error".

According to this official DNS failure tutorial I added an origin domain to my WP site. If added orgin.mydomain.com (A record) and pointed it to my site IP (VPS main IP), it doesn't display my site. If I added orgin.mydomain.com to PageSpeed Service displays a blank site.

How do I fix this issue? How do I setup origin domain name for my site?

2
  • This looks to me like your website will have to be hosted on origin.yoursite.com and then google will server the www. content on your website. By doing this however, you are potentially downing your website for aslong as it takes for your DNS records to propagate Feb 6, 2014 at 9:57
  • 1
    See my answer and the links in it here: webmasters.stackexchange.com/questions/49638/…. If you follow the steps there correctly, it will take time to propagate, but if there are DNS issues after 24 hours (and you've cleared your DNS cache), you can do a lookup here to see where your subdomain is pointed to, and a DNS health check here to see if there's any other DNS issues.
    – dan
    Feb 6, 2014 at 15:08

1 Answer 1

1

The origin subdomain must point where the www subdomain used to point. So if you www used to be an A record to the IP address of your host, you need to move that over to origin.

That will probably also mean that your server configuration will need to be updated. The VirtualHost directive on it will need to be changed from hosting www.example.com to hosting origin.example.com.

After your site is up and running on origin, then you can change the www subdomain to point to Google's pagespeed service server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.