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 pruthvi
I am trying to host two websites, I have done and completed all the steps to enabling the hosting of two websites. Lastly when i restart the website this is the error I am getting
nginx: [emerg] “listen” directive is not allowed here in /etc/nginx/sites-enabled/domain-name:4 nginx: configuration file /etc/nginx/nginx.conf test failed
# You may add here your
# server {
# listen 80;
listen [::]:80;
root /var/www/domain-name/html;
index index.html index.htm;
server_name domain.name www.domain-name;
location / {
try_files $uri $uri/ =404;
}
# }
# statements for each of your virtual hosts to this file
This is how my file loks like