website not opening
when we ping a website which we have been hosting it gives the loopback address and the website isnt opening..it seems something is wrong with our dns server..
what could be the possible problem and what should we do now? |
Or maybe you are not even asking DNS because the name is in /etc/hosts ?
Anyway, post some more info. do a traceroute, show config files, show ifconfig, etc etc. |
Quote:
Quote:
nishith |
well we host a website called www.kuenselonline.com ,now we are able to ping the website but we are not able to open it....so what could be the possible reason for that?
|
Did you read the previous posts ?
Why do you not provide the requested information ? |
Quote:
Quote:
|
thanks bathory...
well can u or anyone tell me how can i make the changes required? |
Are you the person responsible for these 2 nameservers that are authoritative for the domain kuenselonline.com? If you're, you should know how to add/change an A record.
Anyway you should give more details about the named.conf and the zone file for kuenselonline.com.. If you're not in charge for the dns stuff, you have to contact the guys at webexa.com that are responsible for the ns1 and ns2 nameservers and tell them what you want |
In the forward zone file make an entry for name server
Code:
IN NS ns1.kuenselonline.com. change the resolv.conf Code:
#vi /etc/resolv.conf Quote:
|
well nkd,the output are as follows:
1)ifconfig -a: eth0 Link encap:Ethernet HWaddr 00:1E:0B:DD:20:58 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:169 Memory:fdef0000-fdf00000 eth1 Link encap:Ethernet HWaddr 00:1E:0B:DD:20:59 inet addr:118.103.137.1 Bcast:118.103.137.63 Mask:255.255.255.192 inet6 addr: fe80::21e:bff:fedd:2059/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1317762 errors:0 dropped:0 overruns:0 frame:0 TX packets:1458837 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:114310572 (109.0 MiB) TX bytes:137074979 (130.7 MiB) Interrupt:193 Memory:fded0000-fdee0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:618949 errors:0 dropped:0 overruns:0 frame:0 TX packets:618949 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:70511851 (67.2 MiB) TX bytes:70511851 (67.2 MiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 2)ping(ip of webserver): PING 118.103.136.66 (118.103.136.66) 56(84) bytes of data. 64 bytes from 118.103.136.66: icmp_seq=1 ttl=62 time=0.305 ms 64 bytes from 118.103.136.66: icmp_seq=2 ttl=62 time=0.276 ms 64 bytes from 118.103.136.66: icmp_seq=3 ttl=62 time=0.289 ms 64 bytes from 118.103.136.66: icmp_seq=4 ttl=62 time=0.270 ms 64 bytes from 118.103.136.66: icmp_seq=5 ttl=62 time=0.282 ms 64 bytes from 118.103.136.66: icmp_seq=6 ttl=62 time=0.294 ms 64 bytes from 118.103.136.66: icmp_seq=7 ttl=62 time=0.276 ms --- 118.103.136.66 ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 5999ms rtt min/avg/max/mdev = 0.270/0.284/0.305/0.021 ms 3)ping(ca of webserver): PING www.tashicell.com (118.103.136.66) 56(84) bytes of data. 64 bytes from www1.tashicell.com (118.103.136.66): icmp_seq=1 ttl=62 time=0.280 ms 4)nslookup of website: [root@ns0] /home/alisha # [root@ns0] /home/alisha # [root@ns0] /home/alisha # nslookup www.kuenselonline.com Server: 118.103.137.1 Address: 118.103.137.1#53 Non-authoritative answer: www.kuenselonline.com canonical name = kuenselonline.com. Name: kuenselonline.com Address: 76.73.43.2 5) route -n: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 118.103.137.0 0.0.0.0 255.255.255.192 U 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1 0.0.0.0 118.103.137.62 0.0.0.0 UG 0 0 0 eth1 6)result of /etc/hosts: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 118.103.137.1 ns0.tashicell.com ns0 so these are the outputs that i am getting...so nowcan anyone help me out...the dns is reolving the website with the loopback adress instead of the ip of the website it seems.. |
You have not configured your DNS properly
This is the reason you are getting a proper reply when you use dig or nslookup you will have to post your DNS configuration files Code:
named.cf |
well we arent hosting the www.kuenselonline.com website , they are our leased line customers so they use our domain or the dns server for resolving...
so they are not in the forward and reverse zones configurations files.. |
Quote:
Code:
#vi /etc/hosts and I am sure you are using same DNS server for name resolution in Code:
#vi /etc/resolv.conf |
well i think my question isnt clear to you all...
my company's website is www.tashicell.com and we have ISP section in the company...now www.kuenselonline.com takes internet from us so their dns resolving is to be done my our dns server i suppose... and this is the website which isnt opening at all though we are able to ping it. and ya we don't host this website www.kuenselonline.com,they use our internet thats it.. and ya output of vi /etc/hosts is: 127.0.0.1 ns1.tashicell.com ns1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 118.103.137.105 erp0.tashicell.bt erp0 192.168.11.200 erp0.tashicell.bt erp0 so at first the loopback address is there,or is it that the website of tashicell should be there? |
deepak that was the output of secondary nameserver...primary one is different,as i posted yesterday..
and if we are using the same ip for name resolution then what should we do? |
All times are GMT -5. The time now is 12:21 AM. |