sudo apt install nginx sudo rm /etc/nginx/sites-available/default sudo rm /etc/nginx/sites-enabled/default sudo nano /etc/nginx/sites-available/yourdomain.com server { listen 80; server_name nomadinvestor.online www.nomadinvestor.online; location / { include proxy_params; proxy_pass http://unix:/home/econexp/econexp.sock; } } sudo ln -s /etc/nginx/sites-available/myproject /etc/nginx/sites-enabled/myproject sudo nginx -t sudo service nginx restart gunicorn --bind unix:/home/econexp/econexp.sock econexp.wsgi:application sudo systemctl start gunicorn sudo systemctl enable gunicorn sudo systemctl status gunicorn sudo systemctl stop gunicorn sudo systemctl restart gunicorn sudo systemctl daemon-reload