Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

how to change amp.cloudfalre.com for other url ? #42

Closed
ingnelson opened this issue Aug 26, 2020 · 4 comments
Closed

how to change amp.cloudfalre.com for other url ? #42

ingnelson opened this issue Aug 26, 2020 · 4 comments

Comments

@ingnelson
Copy link

ingnelson commented Aug 26, 2020

Hello.

can you tell me how to change the url amp.cloudflare.com for other website ?

can you give me the directories files that i have to change , please ?

i want to use other websites example :
alfa.gob.mx instead amp.cloudflare.com

i will wait your reply.

@ColderCoder
Copy link

It's completely client-side. Change it directly to any site using Cloudflare CDN or simply Cloudflare IP (e.g. 1.0.0.1).

@ingnelson
Copy link
Author

@phlinhng @ColderCoder
Could you explain a little more , please ?
Do I need to configure a specific DNS record ?
Inside your project I see that the configuration works only if I use any of this 2 domains : amp.cloudflare.com www.digitalocean.com

How to configure it to add any other website and not a subdomain ?

Could you explain , please or give the commands or at least screenshots ?

@ColderCoder
Copy link

@phlinhng @ColderCoder
Could you explain a little more , please ?
Do I need to configure a specific DNS record ?
Inside your project I see that the configuration works only if I use any of this 2 domains : amp.cloudflare.com www.digitalocean.com

How to configure it to add any other website and not a subdomain ?

Could you explain , please or give the commands or at least screenshots ?

No need to. Any domain using Cloudflare CDN will do. icook.tw for example. And any Cloudflare IP is acceptable (e.g. 1.0.0.1). If you just want a pretty domain of your own, add an A record and get CDN enabled so that you can use it. It may not improve your experience though.

For better experience, you can check your ping & package loss & speed to Cloudflare IPs and select the best one.

@phlinhng
Copy link
Owner

Just modified client-side configurations by yourself and you will get it. #31

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants