I would like to serve any www.domain.com/* route with a specific static HTML page in my server. Is it possible to do this at a CDN level, for example using CloudFlare?

For example:

www.domain.com/12934, www.domain.com/abc/283, www.domain.com all these three render the same static page in www.domain.com/index.html

  • Can you edit this to provide an example of what you're wanting to do so it's clearer to others?
    – dan
    Commented Mar 1, 2015 at 4:35
  • The more common way to do this is to simply add a 301 redirect rule in the config file of your origin server, however it might be possible to do this using a wildcard and Page Rules. See the CloudFlare docs on this here and here.
    – dan
    Commented Mar 2, 2015 at 9:56
  • Thanks dan, a redirect is different than an alias though. I would like to keep the URL and not redirect to a different URL.
    – Victor
    Commented Mar 2, 2015 at 13:29
  • In that case, follow the links I provided for Page Rules (as per Damon from CloudFlare answered too).
    – dan
    Commented Mar 3, 2015 at 2:51

1 Answer 1


It would have to be a PageRule redirect of some sort via CloudFlare, unfortunately.

Your Answer

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

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