Redirect www Domain Not Working


I wan my redirect to, using DO droplets, domain register on nameSilo.
have rebuild app, when visit that was no auto redirect, its that still any setting? Add A record?

I was follow the guide:

yml I added:

    - replace:
        filename: /etc/nginx/nginx.conf
        from: /sendfile.+on;/
        to: |
          server_names_hash_bucket_size 64;
          sendfile on;
    - file:
        path: /etc/nginx/conf.d/discourse_redirect_1.conf
        contents: |
          server {
            listen 80;
            return 301 $scheme://$request_uri;

(Michael - #2

Feel free to use our service for that!

(Michael Brown) #3

What happens when you go to Since you’re asking about adding an A record this makes me think that you don’t have any A/AAAA records for which means your browser would have no idea where to go.


Now access or is no problem.

Just the cookies seems not shared, when login on, the no login automatic.

So now I wanna when user visit, redirect to

My discourse install on root domain.