my ISP is not currently resolving DNS. But I can access most websites via IP addresses, Is there a way I can access my own website on a shared server via IP? It wasn't given to me.

Like 32.36.221.54/~blablacom/ How can I get this without asking them for it?

link|improve this question
feedback

migrated from serverfault.com Sep 19 '11 at 8:40

This question came from our site for system administrators and desktop support professionals.

3 Answers

sure you can:

telnet <ip of your provider> 80
GET / HTTP/1.1
Host: <name of your vhost>

That's it. It should spit out the text.

Of course an easiyer way would be to just enter the ip and hostname in your /etc/hosts file and browse to it. But that would be boring wouldn't it?

link|improve this answer
There's no host file, I'm the asker. Please I'm new to telnet can you be specific? – Mobinga Sep 18 '11 at 20:02
feedback

my ISP is not currently resolving DNS.

Did you try with Google's DNS: 8.8.8.8 and 8.8.4.4?

Is there a way I can access my own website on a shared server via IP?

It looks like you can't, because there may have multiple domains map to one IP address.

link|improve this answer
feedback

Look up the IP address with this web tool (DNS lookup). It's very likely that you can't access your site with the IP address you got from there, though. The reason is that a web server can handle many domains from the same IP address and differentiates them by the domain name used in the http query.

link|improve this answer
I have the IP address, but not the full file path – lol Sep 18 '11 at 13:36
feedback

Your Answer

 
or
required, but never shown