# Discourse funcionando apenas no meu registro DNS "www"

**URL:** https://meta.discourse.org/t/discourse-only-working-on-my-www-a-dns-record/96179
**Category:** Self-hosting
**Created:** [Setembro 2, 2018, 5:26am UTC](https://meta.discourse.org/t/discourse-only-working-on-my-www-a-dns-record/96179 "2018-09-02T05:26:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)
#### Post date: [Setembro 2, 2018, 5:26am UTC](https://meta.discourse.org/t/discourse-only-working-on-my-www-a-dns-record/96179/1 "2018-09-02T05:26:08Z")

</div>

I’ve got discourse up and running on a DigitalOcean droplet.

I’ve set my “A” DNS records as follows for [www.community.jewelbound.com](http://www.community.jewelbound.com)  
 ![image](https://global.discourse-cdn.com/meta/optimized/3X/4/9/49cfd03f38a4c5045d5c785f9de06daaa9cc5cda_2_690x30.png)

- this redirect is working properly!

I have also set up [community.jewelbound.com](http://community.jewelbound.com) as follows…  
 ![image](https://global.discourse-cdn.com/meta/optimized/3X/f/8/f8c13746b3574478ae8dd62ded00a98a1d38f3c0_2_690x31.png)

- unfortunately this redirect is not working and I don’t know what to do.

Any help would be greatly appreciated!

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [Setembro 2, 2018, 6:26am UTC](https://meta.discourse.org/t/discourse-only-working-on-my-www-a-dns-record/96179/2 "2018-09-02T06:26:59Z")

</div>

Well, step one would be to describe in detail what “not working” means.

---

<div class="post-metadata">

### Author: ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)
#### Post date: [Setembro 2, 2018, 6:42am UTC](https://meta.discourse.org/t/discourse-only-working-on-my-www-a-dns-record/96179/3 "2018-09-02T06:42:54Z")

</div>

Whenever i went to the url without the “www” the page would just be blank and load indefinitely.

I just noticed that it actually IS working now. The page is losing, as expected. I was just tweaking some of the admin settings and maybe that is what made the difference or maybe it just took extra time for the DNS configuration to go into effect 🤷‍♂️ Thanks for being willing to help!

---

<div class="post-metadata">

### Author: ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)
#### Post date: [Setembro 2, 2018, 6:57am UTC](https://meta.discourse.org/t/discourse-only-working-on-my-www-a-dns-record/96179/4 "2018-09-02T06:57:25Z")

</div>

@mpalmer - another question along these lines just came up…

Now i can access discourse with or without the www

I’m currently logged into the www url. Do you have any idea why i would need to re-login on the other domain without the www? They are both redirection to the same IP

---

<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: [Setembro 2, 2018, 7:04am UTC](https://meta.discourse.org/t/discourse-only-working-on-my-www-a-dns-record/96179/5 "2018-09-02T07:04:16Z")

</div>

You need one to redirect to the other. You can’t run a site on two different URLs. The usual way to handle this is via DNS redirection tools in your DNS control panel.
