# How to take a forum offline temporarily

**URL:** https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480
**Category:** Support
**Created:** [20 juli 2019 om 00:34 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480 "2019-07-20T00:34:28Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![DiscoWebmaster](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@DiscoWebmaster](https://meta.discourse.org/u/DiscoWebmaster)
#### Post date: [20 juli 2019 om 00:34 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/1 "2019-07-20T00:34:28Z")

</div>

Hello,

I searched in the settings but I cannot find a way to temporarily disable a forum (such as to disable it for upgrades/changes/etc.). Where would I find such an option?

I want to disable logins that are not administrators and have it show as offline should anyone attempt to sign in.

Thanks

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [20 juli 2019 om 00:37 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/2 "2019-07-20T00:37:41Z")

</div>

In the backup area, press the “enable read only mode” button.

---

<div class="post-metadata">

### Author: ![DiscoWebmaster](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@DiscoWebmaster](https://meta.discourse.org/u/DiscoWebmaster)
#### Post date: [20 juli 2019 om 00:39 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/3 "2019-07-20T00:39:45Z")

</div>

In that section I only see:

> Enable read only mode while taking a backup

There doesn’t seem to be a more ‘permanent’ version. Also if read only would be the only way, can I disable logins as well?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [20 juli 2019 om 00:40 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/4 "2019-07-20T00:40:28Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/c/c/cc93d1450987c2099c66a85be14dc3f6882dd6aa.png)

---

<div class="post-metadata">

### Author: ![DiscoWebmaster](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@DiscoWebmaster](https://meta.discourse.org/u/DiscoWebmaster)
#### Post date: [20 juli 2019 om 00:57 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/5 "2019-07-20T00:57:12Z")

</div>

Got it thank you! Was looking in the Backup Settings instead.

Also, in the event I wish to disable log ins or take the forum completely offline is this possible?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [20 juli 2019 om 01:41 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/6 "2019-07-20T01:41:02Z")

</div>

If you don’t want anyone to access it change your a record and add it to your hosts.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [20 juli 2019 om 01:52 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/7 "2019-07-20T01:52:38Z")

</div>

> [@DiscoWebmaster](#):
>
> disable log ins

You can disable logins via your site settings, or re-rerun the setup wizard which will also allow you to make your site login required.

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [25 oktober 2019 om 11:07 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/8 "2019-10-25T11:07:22Z")

</div>

If you want to disable it totally.

Eg with a msg like “The forum is temporary down due to maintenance”

As I need to move from server 1 (vultr) to server 2 (digitalocean)  
and in that case also from url.tld to forum.url.tld

how do I do that?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [25 oktober 2019 om 11:18 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/9 "2019-10-25T11:18:05Z")

</div>

I usually just put the old site in read only mode while making the transition to the new site.

---

<div class="post-metadata">

### Author: ![anon23840344](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon23840344](https://meta.discourse.org/u/anon23840344)
#### Post date: [13 oktober 2020 om 01:44 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/11 "2020-10-13T01:44:53Z")

</div>

> [@Stephen](#):
>
> change your a record

This isn’t working, perhaps due to caching? I’m using AWS and DigitalOcean. Users who are logged in can still browse the old Discourse instance. Can I force a logout of everyone?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [13 oktober 2020 om 01:46 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/12 "2020-10-13T01:46:06Z")

</div>

Why not stop the container

---

<div class="post-metadata">

### Author: ![anon23840344](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon23840344](https://meta.discourse.org/u/anon23840344)
#### Post date: [13 oktober 2020 om 01:46 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/13 "2020-10-13T01:46:49Z")

</div>

> [@Stephen](#):
>
> stop the container

If I ssh into the droplet, cd into /var/discourse/, and run `./launcher stop app`, it outputs:

```plaintext
+ /usr/bin/docker stop -t 10 app
app

```

But I’m still able to navigate and interact with the old Discourse instance in my other open web browser.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [13 oktober 2020 om 03:02 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/14 "2020-10-13T03:02:56Z")

</div>

Are you sure you connected to the correct server?

What’s the result of `docker ps`?

---

<div class="post-metadata">

### Author: ![anon23840344](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon23840344](https://meta.discourse.org/u/anon23840344)
#### Post date: [24 oktober 2020 om 19:30 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/15 "2020-10-24T19:30:07Z")

</div>

> Are you sure you connected to the correct server?

Yes, I see it named in the command-line prompt.

> What’s the result of `docker ps` ?

`CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES`

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [25 oktober 2020 om 07:44 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/16 "2020-10-25T07:44:36Z")

</div>

That says that nothing’s running. Are you sure you’re administrating the correct server?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [25 oktober 2020 om 12:20 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/17 "2020-10-25T12:20:25Z")

</div>

Discourse caches a bunch of stuff, so sometimes a site will appear to display when it’s down. If the site still shows it you do a hard reload, you’re not logged in to the right server

---

<div class="post-metadata">

### Author: ![anon23840344](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon23840344](https://meta.discourse.org/u/anon23840344)
#### Post date: [25 oktober 2020 om 16:57 UTC](https://meta.discourse.org/t/how-to-take-a-forum-offline-temporarily/123480/18 "2020-10-25T16:57:06Z")

</div>

I eventually just gave up and removed the subdomain from public service entirely, thank you.
