https://www.codementor.io/overiq/deploying-django-project-to-digitalocean-xt5s538tp sudo nano /etc/nginx/sites-available/djangobin sudo service nginx restart server { server_name www.soluball.com; rewrite ^(.*) http://domain_name.com$1 permanent; } server { server_name https://www.soluball.com; rewrite ^(.*) http://domain_name.com$1…

First, create Model class Contact(models.Model): name = models.CharField(max_length=100) email = models.EmailField(max_length=100) subject = models.CharField(max_length=100) message = models.TextField() mobile = models.IntegerField() created_date = models.DateField(auto_now_add=True) Import…