site still not showing in browser

I setup the A record in Domain Manager to point to IP. Setup virtual hosting, apache2 reported syntax OK.
Added line to /etc/hosts: 127.0.0.1 'my site'.com
Please help, or point to guidance, I have exhausted all options

1 Reply

Why would you set up 127.0.0.1 pointing to mysite.com ? That makes no sense. The IP is reserved for localhost.

127.0.0.1 localhost

What do you get when you just put the Linode IP into the browser. Your site should come up.

If you want to use your /etc/hosts file to bypass DNS you would set it using the IP to your Linode:

xx.xx.xx.xx mysite.com

If you have more than one virtual host on your Linode, the above will only work with one of them… and I'm not sure just which one it will hit.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct