Having initially set up a samenamedomain.com wordpress droplet, I then setup a separate samenamedomain.net wordpress droplet, each domain pointing to their respective ip addresses. Certbot eventually said the new .net site is good to go. Domain.net/wp-admin loads in the browser just fine. Navigating to the ip address of domain.net loads the domain.net page just fine. However, typing domain.net into the browser automatically loads domain.com, whereas I would like the option to keep them separate.
Both droplets are running one-click deployments of Wordpress on a LAMP stack, Ubuntu 18.04. It feels like some service somewhere is taking liberties trying to be helpful. Any ideas how to fix this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.