Hostgator - Email
edit
Provider Hostgator
IP 162.144.5.229
Cost Email/monthly
Status Active
Deployments
No deployments on this server.
Unaccounted DNS pointing here
| Record | Domain |
|---|---|
| A @ → 162.144.5.229 | hozzae.com |
| A mail → 162.144.5.229 | hozzae.com |
Nginx Configs
cat /etc/nginx/sites-enabled/*
Listening Ports
ss -tlnp | awk '/LISTEN/{print $4}' | grep -vE ':(22|80|443)$' | while read addr; do port=${addr##*:}; pid=$(ss -tlnp | grep ":$port " | grep -oP 'pid=\K\d+' | head -1); echo "port $port → $(readlink /proc/$pid/cwd 2>/dev/null) → $(cat /proc/$pid/cmdline 2>/dev/null | tr '\0' ' ')"; done
New Server Setup
Run once when this server is first provisioned. Install nginx, certbot, python, firewall.
sudo apt update && sudo apt upgrade -y sudo apt install -y nginx certbot python3-certbot-nginx python3 python3-pip python3-venv git ufw sudo ufw allow OpenSSH sudo ufw allow 'Nginx Full' sudo ufw --force enable mkdir -p ~/tmp sudo rm -f /etc/nginx/sites-enabled/default sudo systemctl restart nginx