Can I run WP Rocket on localhost and staging domains?
Local and staging domains
WP Rocket will work locally if you use one of the domain endings listed below, or just localhost
.
Local installations don’t count as sites for licensing purposes, although they might show up in your website list on your WP Rocket account page.
Here are all the allowed domain endings:
.azurewebsites.net
.bigscoots-staging.com
.cloudwaysapp.com
.cloudwaysapps.com
.dev.cc
.docksal
.dream.press
.flywheelsites.com
.flywheelstaging.com
kinsta.com
.kinsta.cloud
.lndo.site
-liquidwebsites.com
.local
.localhost
myftpupload.com
.myraidbox.de
.onrocket.site
.pantheonsite.io
.platformsh.site
.preview.infomaniak.website
.runcloud.link
.sg-host.com
.singlestaging.com
staging-{sitename}.kinsta.com
.test
.updraftclone.com
.wpstagecoach.com
.wpengine.com
.wpserveur.net
.wpenginepowered.com
.wpsc.site
.instawp.xyz
.instawp.co
.instawp.link
.instawp.app
.hstgr.cloud
.myhostpoint.ch
.wpcomstaging.com
.nxcli.io
.lyricalstaging.com
.wpstage.net
.myrdbx.io
Features that don't work on intranet environments
Some WP Rocket features need to establish a connection with WP Rocket servers to perform different actions, such as validating the license and processing assets.
The following features don't work on private intranet environments:
- License validation (if you can connect the site to the Internet for initial validation, it can work offline after that, aside from the exceptions listed below)
- Plugin update notifications
- API Calls for RocketCDN (optional and paid feature), Cloudflare Add-on, and Sucuri add-on
- Load CSS Asynchronously
- Remove Unused CSS
You can see more information in the following article: