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.

By user123
Hello everyone,
I downloaded a LEMP stack onto my server and I have gotten nginx to serve domain.com, but for the life of me I cannot figure out how to get nginx to serve www.domain.com.
Here is what the code looks like currently:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /usr/share/nginx/html;
index index.php index.html index.htm;
server_name domain.com www.domain.com;
location / {
try_files $uri $uri/ =404;
}
What change can I make to get www.domain.com to work?