开发者

Why won't my site load from one computer, but it will another?

开发者 https://www.devze.com 2022-12-08 09:31 出处:网络
Pretty vague title, but basically I can only get \"my site\" to load from one computer. I\'ve purchased hosting and a domain name, set it all up, and there\'s nothing there yet, but th开发者_StackOver

Pretty vague title, but basically I can only get "my site" to load from one computer. I've purchased hosting and a domain name, set it all up, and there's nothing there yet, but th开发者_StackOverflow中文版e default directory browser thing shows up when I go to the url on my work computer, but from my home computer and a virtual machine it doesn't... what should I look at to troubleshoot? Everything else works fine from home, so I wouldn't think it would be a router issue or anything like that.

Thoughts?

UPDATE: It works from my work computer, and a friend of mine's computer at her house, but not on my PC or laptop... I've tried rebooting, unplugging cable modem and router and plugging them back in, dnsflush, turning windows firewall off, and everything i can think of... i don't have any idea what to do now

UPDATE: This is interesting... when I tracert from my computer it stops and gives Request Time Out one hop before getting to the actual web server. When I do the tracert using dnsstuff.com, it makes the hop just fine and shows the web server on there... I don't get it.


Check out: http://www.dnsstuff.com/; you may also try ipconfig /flushdns.


I had a similar issue. Turns out I had overridden the IP address in my hosts file (which is why it only had issues on one computer). On a mac /etc/hosts, on PC \system32\drivers\etc\hosts

You'll need admin privileges to change the file sudo vim /etc/hosts (or nano or some other editer) or open the hosts file on windows by first opening notepad as an administrator then navigating to the file location (choose the option to view all files, not just text files).

I had something like this in my hosts file:

104.200.18.XXX    mywebsite.com    www.mywebsite.com

I did a traceroute to my website and it displayed the incorrect IP address which is how I realized I had changed my hosts file.

Just remove the whole line and save.


DNS can take time to kick in. 36hrs is worst case scenario


I've had the same problem. After the whole day of trying different things, i found the problem and solution.

On Windows , do a "ping yoursite.com" command and see if you recieve a reply or not. {I didn't, it directly showed time out}

I have a router, so problem was in DNS settings of router, i changed it to google's public dns {8.8.8.8,8.8.4.4} and was able to connect to the site.

hope this helps someone in future.


use a bottom up approach to find the problem. First verify the network in this sequence.

1) Check your physical connection is working (duh, should be). Check your arp table for any problems. Better still, just flush it with arp -d *

2) Check if your route is working to the destination. traceroute to the destination. Are there any difference ? Any routers in the middle routing differently ?

3) Check if the transport is working. Check your firewall, intruder detector or any other transport level service to verify you can indeed send a TCP packet on port 80 to your destination.

If all pass, then i am stumped ..


Try using IE instead of Firefox and see if it makes a difference, or vice versa.


Work computer using VPN? Or directly connected to workplace network?

I had this problem aswell ... that's how I found this question ;)

The new DNS was found when browsing to the site on my android, nearly instantly, but I was redirected to the old nameservers when browsed to the site on my work computer.

I quickly realised that I'm using a VPN connection on my work computer, which means my traffic is rerouted through employer network, so ipconfig/flushdns wasn't helping.

But, as soon as I disconnected VPN, I was browsing through my personal internet provider, and voila.. I was seing content on the new DNS.

0

精彩评论

暂无评论...
验证码 换一张
取 消