1

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

4
  • Can you edit this to provide an example of what you're wanting to do so it's clearer to others?
    – dan
    Mar 1 '15 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
    Mar 2 '15 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
    Mar 2 '15 at 13:29
  • In that case, follow the links I provided for Page Rules (as per Damon from CloudFlare answered too).
    – dan
    Mar 3 '15 at 2:51
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, privacy policy and cookie policy

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