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 |
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 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.
|
Quote:
|
Quote:
I can only see my website if I call up 192.168.0.103 instead |
can you provide some new information as requested?
|
Quote:
DNS report for jmzcons.com shows no NS for record A. Not sure what else to do |
Quote:
I get a reply back that the connection is timed out |
Quote:
and use dhcp. |
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 |
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 |
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 |
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. |
well the domain resolves so I'd guess that OP doesn't appreciate that he's on a dynamic IP?
|
Quote:
Quote:
|
Quote:
2 -Change Dchp to static ip using 24.150.121.93 public ip 3- did this ...... |
1 Attachment(s)
please see the picture and make the appropriate settings
|
This problem is related to IP forwarding, NATING and DNS. Look on your Dell PC set static IP:
IP address : xx.xx.xx.xx Gateway IP : router's IP to which your DEL PC is connected DNS Server: put dns server IP here (If your router itself is DNS server as well as working as a gateway then put same router's IP) Now First let me know What is infrastructure there: 1 Internet wire connected to Internet Router -------> Your Local router -------> Dell PC or 2 Internet wire connected to Internet Router -------> Dell PC Explanation: If you are in first case then IP forwarding will be required at your local router. Also at local router you have to redirect TCP port 80 requests to your main internet router (your main internet router is your DNS server (I consider it)) i.e. NATING If you are in second case no IP forwarding is required. No need to redirect your connections. It will work simply after setting IPs statically Note: In our case main internet router provided by PTCL (internet provider) is itself configured for NATTING and ip forwarding. So I considered same scenario for you. |
All times are GMT -5. The time now is 12:15 PM. |