I have VPS server in godaddy, i run Django projects with gunicorn through my vps server ip url is 208.109.228.90:8003. I hosted dashboard.gearthinc.com in my VPS server.
I recently did a port forwarding from dashboard.gearthinc.com to 208.109.228.90:8003 in GoDaddy and also i did a Nginx reverse proxy
server
{
listen 80;
server_name dashboard.gearthinc.com;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/
{
root /home/gcpanelgearth/Gearth/Greenearth;
}
location /
{
include proxy_params;
proxy_pass http://208.109.228.90:8003;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Forwarding is working but after the redirection it shows the Ip 208.109.228.90:8003 in browser URL. i did a nginx a reverse proxy for showing the domain name dashboard.gearthinc.com but it’s not showing.
Also, i enabled the port 80 in my server.
I did a nginx reverse proxy and i did a port forwarding in godaddy.
I want show the domain url dashboard.gearthinc.com after the redirection.
SRIRAM A is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.