Asked by duncanb7
at 2024-07-24 11:16:46
Point:500 Replies:5 POST_ID:828608USER_ID:11059
Topic:
Linux Networking;Apache Web Server;Domain Name Service (DNS)
I get one domain name from my hosting comany like ehfabc.com and
found out its IP is 212.1.213.70 on whois domaintool website
and found its name server called ns1.ehfabc.com and its
IP( ns1.ehfabc.com) is also 212.1.213.70
SO I go to chrome or FF to see what is web page output
when I type 212.1.213.70, the web output is diferent from I type e-hftrade.com
Why ?
I mean
when I type ehfabc.com , it will go to my index.php web page at my server's public_html directory
When I try 212.1213.70, it will go to http://212.1.213.70/cgi-sys/defaultwebpage.cgi
When I try ns1.ehfabc.com(nameserver of ehfabc.com), it will also go to http://212.1.213.78/cgi-sys/defaultwebpage.cgi
How ehfabc.com and 212.1.213.70 address can go to different web output ?
I guess only under one condition that will happen, the IP is reported from one of ehfabc.com(212.1.213.70) and its name server ns1.ehfabc.com(212.213.70) wrongly
And I thought port forwarding can NOT create the same IP from domain name and its nameserver
And I go to check the file at /etc/resolv.conf, there is only one line output such as
nameserver 8.8.8.8
and found nothing in resolv.conf file about my nameserver, ns1.ehfabc.com
8.8.8.8 that is Google public DNS server
Please advise, why that strange thing is happend unless explaination from one of IP is wrong
DUncan
found out its IP is 212.1.213.70 on whois domaintool website
and found its name server called ns1.ehfabc.com and its
IP( ns1.ehfabc.com) is also 212.1.213.70
SO I go to chrome or FF to see what is web page output
when I type 212.1.213.70, the web output is diferent from I type e-hftrade.com
Why ?
I mean
when I type ehfabc.com , it will go to my index.php web page at my server's public_html directory
When I try 212.1213.70, it will go to http://212.1.213.70/cgi-sys/defaultwebpage.cgi
When I try ns1.ehfabc.com(nameserver of ehfabc.com), it will also go to http://212.1.213.78/cgi-sys/defaultwebpage.cgi
How ehfabc.com and 212.1.213.70 address can go to different web output ?
I guess only under one condition that will happen, the IP is reported from one of ehfabc.com(212.1.213.70) and its name server ns1.ehfabc.com(212.213.70) wrongly
And I thought port forwarding can NOT create the same IP from domain name and its nameserver
And I go to check the file at /etc/resolv.conf, there is only one line output such as
nameserver 8.8.8.8
and found nothing in resolv.conf file about my nameserver, ns1.ehfabc.com
8.8.8.8 that is Google public DNS server
Please advise, why that strange thing is happend unless explaination from one of IP is wrong
DUncan