I've been playing around with various web configurations in Debian for about a year now. I've set up DNS for a fow domains in the process and have never really had an issue. I:
- Go to Google domains and point the DNS at my ip
- Go to digital ocean and do the same thing
- Set up Server Name and Server Alias in my sites-available config file
Then I'm off to the races.
However this time around after doing those things, my site will resolve if I use the domain name, but the URL changes to show the IP address once the page has loaded.
I don't even know how this could happen or what information someone would need to know what's causing it. What could be going wrong?