Mobile app version of vmapp.org
Login or Join
Gloria169

: How do I setup origin domain for Google PageSpeed Service? I have a WordPress site with cPanel (WHM) with VPS. Today I configured Google PageSpeed Service for my WordPress site. After I submitted

@Gloria169

Posted in: #Dns #PageSpeed #Vps #Wordpress

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria169

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme