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

Recommended Answers

All 3 Replies

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.

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.

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.