[CentOS] Odd issue happening CentOS 7

Mon Nov 2 17:13:23 UTC 2020
Simon Matter <simon.matter at invoca.ch>

> So I have two CentOS 7 machines running.
>
> if I am on my server and I do "curl  http://192.168.1.8" I get data.
> If I do "host devgeis.LayeredSolutionsInc.com" I get the correct address
> 192.168.1.8
>
> if I goto another machine with CentOS 7.
> I do "curl http://192.168.1.8" I get data.
> I do "host devgeis.LayeredSolutionsInc.com" I get the correct address
> 192.168.1.8
>
> BUT then I do "curl http://devgeis.LayeredSolutionsinc.com" I get
> "nothing"
> BUt then doing the -v with "curl -v
> http://devgeis.LayeredSolutionsinc.com"
> * About to connect() to devgeis.LayeredSolutionsinc.com port 80 (#0)
> *   Trying 198.168.1.8...
>
> So why when using the name is it not giving me the index.html page ?

I guess you have an apache listening on 192.168.1.8:80? What do the apache
logs say? Does your apache know that he's responsible for
devgeis.LayeredSolutionsInc.com?

Regards,
Simon