# Can't install on my main domain, what's wrong?

**URL:** https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829
**Category:** Self-hosting
**Created:** [February 21, 2023, 7:29pm UTC](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829 "2023-02-21T19:29:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![AriHoresh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arihoresh/32/262640_2.png) [@AriHoresh](https://meta.discourse.org/u/AriHoresh)
#### Post date: [February 21, 2023, 7:29pm UTC](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829/1 "2023-02-21T19:29:36Z")

</div>

Hello everyone,

I am having trouble getting my new domain, futuredoctor.ai, to work with Discourse. I have been searching for a solution for a few hours now, but unfortunately, I haven’t had any luck so far.

I have installed Discourse on this domain using the Docker installation method, which I have successfully used around 20 times for different websites I own. However, even though the installation process completed without any errors and the website should be up and running, when I navigate to the domain, I see nothing.

This is the first time I am trying to install Discourse on a main domain rather than a subdomain, and it seems to be causing issues. I would really appreciate any help or advice on how to get this up and running. Thank you in advance for your assistance!

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 21, 2023, 7:34pm UTC](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829/2 "2023-02-21T19:34:44Z")

</div>

Have you seen this guide? The short version is that not all DNS providers can host Discourse on an apex domain.

> [@Configure your hosted Discourse site to run at the root or apex domain (e.g. example.com)](https://meta.discourse.org/t/configure-your-hosted-discourse-site-to-run-at-the-root-or-apex-domain-e-g-example-com/60951):
>
> Most hosted discourse instances are on a subdomain: forum.example.com talk.example.com www.example.com This is our general recommendation in almost all cases, and it works great. However, if you wish to use a root domain or apex domain for your hosted discourse, like so example.com this turns out to be surprisingly difficult in a hosting scenario, due to the vagaries of how DNS works. thinking It is possible, however, you must use a DNS provider that specifically supports it! DNS pro…

---

<div class="post-metadata">

### Author: ![AriHoresh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arihoresh/32/262640_2.png) [@AriHoresh](https://meta.discourse.org/u/AriHoresh)
#### Post date: [February 21, 2023, 7:42pm UTC](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829/3 "2023-02-21T19:42:16Z")

</div>

Thank you for your response!

I can confirm that I am using CloudFlare, which is included on the list of supported DNS providers for Discourse. However, I am uncertain about the steps I should take next.

It seems like this option should be automatic in CloudFlare, but it doesn’t seem to happen.

---

<div class="post-metadata">

### Author: ![Timelord](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Timelord](https://meta.discourse.org/u/Timelord)
#### Post date: [February 22, 2023, 12:42am UTC](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829/4 "2023-02-22T00:42:52Z")

</div>

Disable the proxy function in Cloudflare. Caused me endless issues. With Discourse, use Cloudflare for DNS only and LE for https

---

<div class="post-metadata">

### Author: ![AriHoresh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arihoresh/32/262640_2.png) [@AriHoresh](https://meta.discourse.org/u/AriHoresh)
#### Post date: [February 23, 2023, 6:39pm UTC](https://meta.discourse.org/t/cant-install-on-my-main-domain-whats-wrong/255829/5 "2023-02-23T18:39:21Z")

</div>

Thank you, I initially did it as well, always do it, unfortunately it didn’t work, so I decided to host it on a sub. Thank yo!
