-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义不同域名 #21
Comments
把myurl.com加入cf,然后添加一个A记录,名称就是url,ip地址随意(比如8.8.8.8),记住务必选择启用代理(小云朵点亮);然后在worker里的http routes里将url.myurl.com引用到本项目的cf worker空间即可 |
非常感谢,可能我没表达清楚
谢谢啦 |
如果是一级域名呢,比如,我想跟作者一样把lnks.tools这个域名作为worker域名,按你的指导,添加A记录,名称是@,地址随便填,但是打开lnks.tools就是无法访问 ok,以上我解决了,inks.tools可以访问了,但是转出来的短链接无法转到源地址,而是转到“https://dns.google/abcdef”,然后弹出google 404错误 |
你应该是添加路由的时候没有加 /* ,也就是exapmle.com/* |
|
非常感谢您的项目,有个问题想请教
如果我现在有域名 myurl.com
如何实现 访问url.myurl.com为短连接主页,生成短连接格式 myurl.com/abcdef
例如 访问t.cn为微博主页,同时微博短连接为t.cn/abcdef
谢谢啦
The text was updated successfully, but these errors were encountered: