Article 50KBZ Hosting hosts file need help.

Hosting hosts file need help.

by
bscho
from LinuxQuestions.org on (#50KBZ)
Hosting my site on Fedora 31. I can see the site on localhost and did see the site before on 192.168.1.5 but now that has disappeared and i can only see it on localhost. The hosts file only showed localhost at 127.0.0.1

I have tried to put 192.168.1.5 in the hosts file but it still does not work.

This is my hosts file

192.168.1.10 localhost
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain
192.168.1.5 localhost

I tried 192.168.1.10 and this does not work either.

Why did 192.168.1.5 disappear in the first place?

Have I not put the correct entry into the hosts file?

How can I fix this please?latest?d=yIl2AUoC8zA latest?i=dXZS8xe6mfE:jpI4WBQ_sLM:F7zBnMy latest?i=dXZS8xe6mfE:jpI4WBQ_sLM:V_sGLiP latest?d=qj6IDK7rITs latest?i=dXZS8xe6mfE:jpI4WBQ_sLM:gIN9vFwdXZS8xe6mfE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments