# Connecting Gitbook to a Root Domain

It's fairly easy and straight-forward to link your gitbook to a custom sub-domain (ex. <http://gitbook.opensourcedharma.info>), but it's a bit more complicated to link a gitbook to a root domain (ex. [www.opensourcedharma.info](http://www.opensourcedharma.info)). &#x20;

Here we offer some instructions on linking your gitbook to a root domain, using iwantmyname.com, a standard domain registrar, and cloudflare, a company that offers various domain-related services.  You can use other registrar services to do this, but in these instructions we'll only show you how to do this with iwantmyname.com.  We haven't tested, or confirmed, this process on other registrars, so just be aware that this may not work exactly the same way on another service.

![](/files/-L_wi7WdeNqGhCl7wLt1)

###

### **Step 1: Set-up Web Forwarding** on iwantmyname

![](/files/-L_wjt3FUbUvxhl8lw3e)

![](/files/-L_wjxEUbriTUOsxUct1)

![](/files/-L_wk19hFVNeXENcRu7F)

![](/files/-L_wk3iYPxlp1x4s4qPr)

###

### Step 2: Add Site on CloudFlare

![](/files/-LueZoltOSMWlQUAkoBV)

![](/files/-LueZyZsgYtzJkfBxnCn)

![](/files/-L_wm47KaPJqHPGBJkVh)

![](/files/-L_wm8wbaAhfrqwY920f)

![](/files/-L_wmDFhGZMcDvwG6c_5)

![](/files/-L_wnybvoOhulXnDYxa6)

###

### Step 3: Setup CloudFlare Page Rules

![](/files/-L_wo1kkk_IBu5ZwoflA)

![](/files/-L_wo5uE36V8RblvMIFd)

![](/files/-L_wo94s9DhId1JfNV86)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.opensourcedharma.info/master/implementation/gitbook/connecting-gitbook-to-a-root-domain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
