banner
LAPLACE

LAPLACE By 王友元

那些娇艳欲滴姿态万千的花朵其实都依赖于某种神秘的养料——那就是人类幽微而真挚的情感故事
telegram
x
email

Implementing Multi-Domain Binding for xlog

I want to bind "@" and "www" to my xlog site, but xlog only supports binding with a single domain name. After asking DIYgod on Twitter, I learned that a 301 redirect is a better choice.

So I used Cloudflare's page rules feature to implement a 301 redirect and achieve multi-domain binding for xlog.

Note: DNS provider support for redirect functionality is required.#

(Side note) I highly recommend using Cloudflare's DNS service because using xlog is to maintain the anonymity of Laplace. Therefore, I not only transferred the NS to Cloudflare but also transferred the domain name to Google. I believe that the anonymity is strong enough now, hehe.

Operation example:

image

At the same time, we need to add the domain name that requires a 301 redirect to the DNS resolution and connect it to Cloudflare.#

uTools_1684924089340

Here, you can parse any IP address. I parsed it to 8.8.8.8.

This way, we have achieved: accessing www.laplace.cc will redirect to laplace.cc.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.