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? 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. 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. 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). Commented Mar 3, 2015 at 2:51

1 Answer 1

1

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.