博客内容Blog Content
域名不用备案的方法 Ways to avoid domain registration
突然发现一个.com域名不用备案的方法,但是速度慢一些I suddenly discovered a way to use a .com domain without registration (filing), but it's a bit slower.
众所周知,我国的备案手续比较复杂要真人拍照、审核。。。而申请域名比较简单只需拍身份证。
As we all know, the domain registration process in our country is quite complicated, requiring real-person photos and verification... However, applying for a domain is relatively simple and only requires a photo of your ID card.
前两天我试着备案,结果如图,初审直接gg
A couple of days ago, I tried to go through the registration process, but as shown in the picture, the initial review failed immediately.
加上现在临近春节,想着快速备案是不可能了
With the Spring Festival approaching, I realized that a quick registration (filing) is impossible.
而前几天同学告诉我,他也在阿里云买了域名,而且不用备案也能直接访问,我一脸懵逼,不是说好了域名80端口都封了吗?
A few days ago, a classmate told me that he also bought a domain on Alibaba Cloud, and he could access it directly without registration (filing). I was totally confused—wasn't it supposed to be that port 80 is blocked for domains without registration?
原来他是将域名解析到搬瓦工,国外的IP,所以不用备案
It turns out he pointed the domain to BandwagonHost, a foreign IP, so registration (filing) wasn't necessary.
恰好我在搬瓦工也有一台机,那么我也可以将域名解析到国外的服务器,再将那边的请求转回阿里云8080(或80),相当于一个跳板
Coincidentally, I also have a server on BandwagonHost, so I can point my domain to the foreign server, then forward the requests back to Alibaba Cloud on port 8080 (or 80), effectively using it as a proxy.
于是我先在那边搭了个nginx,将所有80请求转回阿里云8080(或80),竟然成功
So I set up an Nginx server over there to forward all requests on port 80 back to Alibaba Cloud on port 8080 (or 80), and it actually worked!
虽然不用备案了,但毕竟跑了地球一圈,速度肯定慢了很多,还得保证搬瓦工服务器稳定和不超流量限制(1000GB),否则限于国外出口带宽有时会出现502 Bad Gateway
Although I don't need to register (file) the domain anymore, the data now has to travel around the globe, so the speed is definitely slower. I also need to ensure that the BandwagonHost server remains stable and doesn't exceed the 1000GB traffic limit. Otherwise, due to the limitations of international bandwidth, a 502 Bad Gateway error might occur at times.
=================
2024年更新:
Update of 2024:
后来,我发现还是直接在搬瓦工部署服务器更划算,毕竟直接从搬瓦工返回数据效率更高
Later, I realized that deploying the server directly on BandwagonHost is actually more cost-effective. After all, retrieving data directly from BandwagonHost is more efficient.
另外,根据了解现在国内可能会对非80和443端口也进行网页备案检查,所以以上方法不一定行得通了
Additionally, based on my understanding, there may now be website filing checks for non-80 and non-443 ports in China, so the above methods may no longer work.