Website access problem on Mac after changing host
I changed from GoDaddy to Siteground for hosting and domain names for 4 websites.
They worked for a couple of day and then stopped working on my Mac, but work on my phone or other people's computers.
They say "future site of something really cool."
Or when I go to the wp-admin page I get a 404 error.
I tried flushing the dns cache.
I tried shutting off my router and have tried my Mac using other routers at other locations.
I tried to redirect the IP and edit the hosts file, but it seems that it's not possible to delete things from the host file.
I have run Onyx to clear things up.
Nothing is working.
To be honest I don't really understand any of the above things or what they are or if I'm doing it correctly.
When I type sudo nano /etc/hosts in my Terminal I get the below back. The 107 IP I believe belongs to GoDaddy and I can't get rid of it. All the other IPs, starting with 35, are the correct IPs. None of these websites work on my Mac.
I've spoken to Siteground and Apple and no-one can help. I spoke to an Apple software specialist, and they can't help either.
I set up a new user on my Mac. At first one of the websites worked, but then I got 404 errors on a few pages and then none of it worked.
I also get notifications that they're 'not secure' but I have SSL certificates for all of them.
Any help would be GREATLY appreciated. This has been going on for 8 weeks now. :(
I'm using a mid 2015 Macbook Pro, Big Sur 11.7.10
.
[Re-Titled by Moderator]
MacBook Pro 15″, macOS 10.14