Hello,

I used only mysite.org with fabric.

ALLOWED_HOSTS = ["mysite.org"]

Now, I want to include www.mysite.org as well. I did the following.

1. Add CNAME record - www @  at digitalocean (where I host)

2. Add www.mysite.org to allowed hosts in localsettings, ALLOWED_HOSTS = 
["mysite.org","www.mysite.org"] and sudo restart
With this I started getting 'Welcome to nginx!' for www request

3. Updated /etc/nginx/sites-enabled/mysite.conf with - server_name 
www.mysite.co mysite.org; and sudo restart
With this I started getting 'No data received : ERR_EMPTY_RESPONSE' for 
www.mysite.org

What else am I missing?

Thanks,
Klerp




-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to