LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why is my website pointing to my local lan ip address (https://www.linuxquestions.org/questions/linux-newbie-8/why-is-my-website-pointing-to-my-local-lan-ip-address-4175417771/)

jmzcons 07-20-2012 06:50 AM

Why is my website pointing to my local lan ip address
 
Got Redhat 9 installed on Dell Poweredge 1600. Was working as www.jmzcons.com but can now only see my website as http://192.168.0.103. Plase help
James

acid_kewpie 07-20-2012 06:57 AM

why on earth are you running redhat 9?? It's ancient.

What do you mean by only see? What are you doing? what happens if you use the domain name? what network architecture are you runnign this under?

uk.engr 07-20-2012 07:11 AM

I think you are talking about apache webserver. I think you created a web page and you want to access it via www.jmzcons.com instead of IP. I think it may be a DNS problem.

jmzcons 07-20-2012 07:43 AM

Quote:

Originally Posted by uk.engr (Post 4733630)
I think you are talking about apache webserver. I think you created a web page and you want to access it via www.jmzcons.com instead of IP. I think it may be a DNS problem.

Maybe so. But I am not sure how DNS is link to the ip address

jmzcons 07-20-2012 07:45 AM

Quote:

Originally Posted by acid_kewpie (Post 4733619)
why on earth are you running redhat 9?? It's ancient.

What do you mean by only see? What are you doing? what happens if you use the domain name? what network architecture are you runnign this under?

I am running redhat 9 because it works for me and my website www.jmzcons.com works well once before but now
I can only see my website if I call up 192.168.0.103 instead

acid_kewpie 07-20-2012 07:51 AM

can you provide some new information as requested?

jmzcons 07-20-2012 08:06 AM

Quote:

Originally Posted by acid_kewpie (Post 4733658)
can you provide some new information as requested?

when I call up my website at 192.168.0.103, it will response with my website. But not with www.jmzcons.com
DNS report for jmzcons.com shows no NS for record A. Not sure what else to do

jmzcons 07-20-2012 08:10 AM

Quote:

Originally Posted by acid_kewpie (Post 4733619)
why on earth are you running redhat 9?? It's ancient.

What do you mean by only see? What are you doing? what happens if you use the domain name? what network architecture are you runnign this under?

When I call the domain name www.jmzcons.com
I get a reply back that the connection is timed out

jmzcons 07-20-2012 08:14 AM

Quote:

Originally Posted by jmzcons (Post 4733676)
When I call the domain name www.jmzcons.com
I get a reply back that the connection is timed out

I have a Dlink Dir 655 router connected to a bunch of pc's and one of them being a dell with the linux redhat 9
and use dhcp.

suicidaleggroll 07-20-2012 08:49 AM

Your website isn't "pointing" anywhere. Your webserver is listening for any incoming connections on port 80, and responding with your web page. The reason you can't access it through the domain is DNS. When anybody types in a domain, DNS tells the computer the actual location of that website (the IP address of the computer hosting it). Your DNS for jmzcons.com isn't configured properly, so when somebody types in that domain, they are not being directed to the location where that website actually sits (your Dell box).

1-point the DNS for your domain to your router's public IP address
2-set your Dell up with a static IP on your local network
3-forward port 80 to your Dell's IP in your router config

lithos 07-20-2012 11:49 AM

Hi,

when you will set DNS for your domain (the public IP address you have your router connected)
then set the PORT FORWARDING to your server IP 192.168.0.103

setup like here

jmzcons 07-20-2012 04:21 PM

In my router config, followed instructions as per your setup attached in Advanced( Virtual Host) to 192.168.0.103 using public 80 and private 80
saved and still the same

suicidaleggroll 07-20-2012 04:27 PM

You still need to point your domain to your network's public IP address.

It sounds like you've only done the third of the three steps I listed. Two more to go.

acid_kewpie 07-20-2012 05:03 PM

well the domain resolves so I'd guess that OP doesn't appreciate that he's on a dynamic IP?

lithos 07-20-2012 05:58 PM

Quote:

Originally Posted by acid_kewpie (Post 4734099)
well the domain resolves so I'd guess that OP doesn't appreciate that he's on a dynamic IP?

I see it does not !
Quote:

MX Error MX Records Oh well, I did not detect any MX records so you probably don't have any and if you know you should have then they may be missing at your nameservers!


All times are GMT -5. The time now is 08:46 PM.