Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello,
Warning - Complete newbie here.
I’ve followed the below guide “How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 18.04” to set up my Django website.
Everything works fine when i search for my website via “website.com”, however when i search for “www.website.com” i get a welcome to nginx landing page.
I’ve attempted to fix this by adding the “www.” prefix version of my domain to the server_name line in my server block as per below.
server {
listen 80;
server_name website.com www.website.com;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /home/peter/websitedirectory;
}
location / {
include proxy_params;
proxy_pass http://unix:/run/gunicorn.sock;
}
}
However when running sudo nginx - t on the above, i get a warning:
nginx: [warn] conflicting server name: “www.website.com” on 0.0.0.0:443, ignored
I’m not entirely sure what this means. I feel like this should be relatively simple to fix, can anyone help? Thanks!
ebeecroft
68aa2215160846bca0a00f952c5fdc
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
032f50ee7f7d489db3b05e204fe139
032f50ee7f7d489db3b05e204fe139
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e