Website - Local issues with FQDN

Issues related to configuring your network
Post Reply
nthomthom
Posts: 7
Joined: 2019/11/24 18:54:48

Website - Local issues with FQDN

Post by nthomthom » 2019/12/02 00:47:53

Hello,

I would like to be able to access the website I have on centos 8 / apache from the same network that the actual server is hosted. Howrver, my website through my FQDN is only accessible outside the local network. when i enter my FQDN into a web browser locally it goes to my routers home page instead of the index page i have setup. In order to visit my websites home page i would have to point it to the ip address of the server.

lightman47
Posts: 1002
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Website - Local issues with FQDN

Post by lightman47 » 2019/12/04 11:44:14

,,, or the machine's name if you have DNS setup.
Multple login IDs are not your friend when asking for help!

nthomthom
Posts: 7
Joined: 2019/11/24 18:54:48

Re: Website - Local issues with FQDN

Post by nthomthom » 2019/12/05 23:43:43

I get a connection refused when I'm on the same network that the server is on. If I'm on another network it connects just fine. I cannot access the website index.html page using htttp://localhost or 127.0.0.1 either. I can access it using my web servers IP of 10.0.1.XXX. Any ideas why I cant go to my own domain name?

User avatar
TrevorH
Forum Moderator
Posts: 27156
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Website - Local issues with FQDN

Post by TrevorH » 2019/12/06 00:35:48

This sounds like a general problem with domestic routers, they often cannot loop back into themselves from inside. Try adding your LAN ip address into /etc/hosts and name it there.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

nthomthom
Posts: 7
Joined: 2019/11/24 18:54:48

Re: Website - Local issues with FQDN

Post by nthomthom » 2019/12/06 01:59:41

I think you are right. I’ve added:

10.0.1.110 domain.com www.domain.com

but no luck.

nthomthom
Posts: 7
Joined: 2019/11/24 18:54:48

Re: Website - Local issues with FQDN

Post by nthomthom » 2019/12/06 02:48:35

It’s i've open enable WAN management and now i get the router login page again, I suspect the “connection refused” was due to the router refusing connection to management page, not the server refusing connection.

Post Reply

Return to “CentOS 7 - Networking Support”