4
ac 域名貌似不能备案,那如何可以通过这个域名正常访问阿里云服务器
source link: https://www.v2ex.com/t/837913
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
我在 namecheap 有一个 .ac 后缀的三位长度域名,但是貌似这个后缀没办法通过备案,
迫于太懒想少敲几个字,就想问一下大家有没有办法通过这个域名正常的显示部署在阿里云服务器的站点内容,而不是阿里云的“该网站未根据工信部相关法律进行备案” QAQ
29 条回复 • 2022-03-05 17:58:29 +08:00
snachx 1 天前
不在意访问速度的话,用国外服务器做个反向代理吧
x86 1 天前 via iPhone
twing37 1 天前
个人域貌似现在啥也干不了.还不如在外面挂着
ji980925 1 天前 via Android
如果只是想少敲几个字,域名跳转?反向代理?
Mac 1 天前
cloudflare cdn+pagerule
eason1874 1 天前
直接解析就别想了,现在查很严,二级域名、改端口号也都会很快识别到并进行屏蔽
简单又免费的是用 CF Workers 或者 Vercel 这些支持边缘计算的 CDN 反代
简单又免费的是用 CF Workers 或者 Vercel 这些支持边缘计算的 CDN 反代
eason1874 1 天前 1
mytsing520 1 天前
上个阿里云 HK
7heaven 1 天前
做个 CNAME?
lucifer69 1 天前
用国外反代在良心云好像不行,用一段时间就被封了
photon006 1 天前
用国外服务反代,cf 的 worker 不支持直接解析域名,所以还要嵌套一层代理服务,大致流程:
user browser < = > cloudflare dns < = > cloudflare worker < = > deno < = > aliyun
deno 免费: https://dash.deno.com ,支持 28 个全球节点,创建项目,得到一个域名:xxx.deno.dev 。
在 cf worker 中代理:xxx.deno.dev ,经过 2 次流量转发就可以免备案访问大陆 vps 。
deno 代码:
import { serve } from "https://deno.land/[email protected]/http/server.ts";
async function handler(req: Request): Promise<Response> {
// console.log(req.headers);
// console.log(req.method, req.url);
const url = req.url;
const path = url.substring(url.indexOf('.dev') + 4);
return await fetch(`http://your VPS ip:8080${path}`);
}
console.log("Listening on http://localhost:8000");
serve(handler);
user browser < = > cloudflare dns < = > cloudflare worker < = > deno < = > aliyun
deno 免费: https://dash.deno.com ,支持 28 个全球节点,创建项目,得到一个域名:xxx.deno.dev 。
在 cf worker 中代理:xxx.deno.dev ,经过 2 次流量转发就可以免备案访问大陆 vps 。
deno 代码:
import { serve } from "https://deno.land/[email protected]/http/server.ts";
async function handler(req: Request): Promise<Response> {
// console.log(req.headers);
// console.log(req.method, req.url);
const url = req.url;
const path = url.substring(url.indexOf('.dev') + 4);
return await fetch(`http://your VPS ip:8080${path}`);
}
console.log("Listening on http://localhost:8000");
serve(handler);
photon006 1 天前
错了,cf 的 worker 不支持直接解析 ip ,所以要用 deno 的域名中转一次,共 2 次转发。
levinit 1 天前 via iPhone 1
腾讯云现在非 80 443 都不让 web 服务,提示没有备案
ik 1 天前 via iPhone
vpn 走内网😆
vueli 22 小时 30 分钟前
可以买个香港服务器做跳板. 解析到 国内
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK