- Edited
I didn't want to make my site live immediately until migration was finished and had a hard time locating help for a newly installed WordPress instance. I wanted to use just the IP address of my DigitalOcean droplet until I was ready to go live.
I found that I had to edit the Nginx conf file for the site. I am using Ubuntu 22 on my droplet.
cd /etc/nginx/sites-available
sudo nano mydomainname.com
add one line after "server {"
listen ip.you.want:80 default_server;
I think it can be private, public whatever, and whatever port if you need to keep 80 open
example
listen 10.0.0.1:80 default_server;
save/exit and restart nginx using
sudo service nginx restart
Should be live at http://ip.you.want/