Domain name on the internet - page not loading

What issue or error are you experiencing?

Hello,

I used local to create a website with wordpress. I associated the website with a specific domain name: tantrayogacanada.com. Therefore, whenever i would go on my browser and enter this domain name, it would not open and show the 404 error if the start site button would not be pressed in local.

Now, i stopped using local and created a website with bluehost with the same domain name and it is out on the internet working just fine. The issue is that from my computer (and only on my computer where i initially created the local website with this domain), i can’t access the website because the start site button is not on in the local app.

It seems like the domain name on my browser (google chrome AND safari) is still associated with the local app and i don’t know how to arrange it so that i can have access to my website from my computer. I can have access to the website from any other devices without problem.

Please thank you for helping me.

Peter


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Local writes to your /etc/hosts file with two entries pointing to 127.0.0.1 and ::1 so that the domain you set in Local resolves to your local machine. (By default it uses .local domains so that it doesn’t affect visits to domains like .com.)

If you changed your domain in Local to use a .com instead of a .local domain, the entries in your /etc/hosts file will look something like this:

::1 tantrayogacanada.com #Local Site
127.0.0.1 tantrayogacanada.com #Local Site

If you’re no longer using Local for this site, you’ll need to edit your hosts file to remove these lines before that domain points to the remote website for you again.

How you do this depends on your OS. You should take a backup of your /etc/hosts file first.

https://docs.rackspace.com/docs/modify-your-hosts-file

If removing the entries and saving your hosts file doesn’t fix this issue for you straight away, try restarting your machine.

1 Like

Hello Nickc,

on the website your shared for the editing of hosts files, it requires the domain user password to put in the terminal app. I don’t recall having such a password. Do you know where i can find this password? Thank you

@peterdalpe It’s just your computer user password.

1 Like

Thank you so much it worked. I now have access to the website online!

2 Likes

I’m glad your issue is resolved @peterdalpe!

Don’t hesitate to reach back out if you have any other questions or concerns.

We are always happy to help!

1 Like