Hi All,

I am running a website its working fine by using the domain name but for the performance issue i am think to run some content in site using IP address. I get the IP of my domain by using cmd prompt ping domain name command. Copy that IP while trying to run in web page its showing as PAGEOK message if any thing...

Thnks in advance... :)

Thanks,
Mahesh

Re: Unable to access a website using IP, but i can by using domain name 80 80

If your website is hosted on a shared infrastructure, you won't be able to access the website by IP because all of the websites on the shared instance share the same IP.

Re: Unable to access a website using IP, but i can by using domain name 80 80

Instead of "ping", use "nslookup" instead. That will provide 1 or more IP addresses for the domain name, any one of which may, or may not, be available.

Re: Unable to access a website using IP, but i can by using domain name 80 80

As @JorgeM said; and also some servers have requests blocked if they don't contain a valid domain name in the headers etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.