Issue with intranet site - wordpress

We have a lamp word press intranet site running, however, the first time I load the site it doesn't load and says the page cannot be displayed. When I refresh the site it loads. Is this a problem with our server or dns or what?! We have no proxy and sometimes get this error message as well ERR_CONNECTION_RESET. Any ideas?

I suppose the best way forward is to first figure out which part of the process is failing, browser, computer or web server.
Determine the most likely point of failure
If the fault occurs on more than one computer, and with different browsers then it not likely to be browser or computer issue. Therefore the next step is to look at the webserver.
if it looks like a computer or browser issue
If its only failing on one computer or browser the try flushing your browser cache, if that fails then it could be a network setup issue. You could try setting you computers DNS network settings to point to your internet router and to your web servers IPs.
if it seems like a web server issue
1) Check settings of your network, try setting DNS to router and webserver.
2)If you have a spare computer install fresh webserver and try using new test webserver to see if you get the same problems
and if all else fails get windows PC install WAMP;) or the ultimate solution switch it off and go the pub.

Related

Site comes up Sometime and Sometimes it will not

I have a site registered with Godaddy and hosting with Enom. The domain was pointed to Enom's nameservers on 1/14/15 and was fine until 1/17/15. It's a wordpress site and on 1/17/15, without doing anything to it, it went down and I could not access it via FTP either. It was literally down all day. The strange thing is, it seemed to be accessible on cellphones, but not PCs. On 1/18/15 I was able to access it via FTP & via all browsers.
On 1/18 it went down again and suddenly came back up. (I checked at 6pm and it was back up and running fine.) Checked 1/19 and all is good again.
When I was unable to access the site via FTP (Filezilla), I got the following error: "connection attempt failed with eai_nodata - no address associated with codename"
When I tried on all browsers, I received a DNS lookup failed.
This is the strangest thing I have encountered. Does anyone have any idea if this is a problem coming from the Registar or the hosting company? Any suggestions or ideas are welcome.
Thank you.
your phone is on Wi-Fi of same network as your PC or on mobile phone network?
If on a different network so check if it happens only in your computer or in other computers to (You could check with proxy sites ,hidemyass for example).
If its only on your PC, sounds like its a problem with your internet provider with the DNS/IP of your server.
I had the same issue, one time after a few days it solved itself. In some other case i had, it was something in the internet provider actually (the DNS was blocked or something or not updated or something like that).
The reason it sounds like that is because in your phone your site is up, but could be its something else.

Trouble reaching client website from my computer with traceroute

I've been working on a client site for a few months now and I'm suddenly having a lot of trouble accessing it.
Chrome tells me:
This webpage is not available
Google Chrome's connection attempt to [client] was rejected. The website may be down, or your network may not be properly configured.
The website is available on any other computer, whether on the same wireless connection or not.
My traceroute shows a hop to localhost and then it stops. Interestingly enough, if I remove the "www" the site loads, and the traceroute without www works normally.
I've tried resetting my wireless adapter. I've tested this on multiple wireless networks and it just does not work on my computer.
I had this problem a few nights ago and it mysteriously worked for about a day and then the problem resumed this morning.
I do not have any proxy settings in Chrome. I've tried cycling the adapter, renewing the lease, and trying other routers. Just now, I also tried on ethernet and the problem persists. The problem also persists over users and browsers.
I don't notice any other sites affected. I am currently using a Mac. If I use Parallels to use Windows, it has no problem connecting to the site or tracing properly.
Does anyone have any troubleshooting suggestions?
Have you tried to flush the routing table on your machine?
/usr/bin/sudo /sbin/route flush

Website accessible from everywhere except for client's network

My client has a website that is showing some strange behavior. The site is built in ASP.Net and used to be hosted on their internal network. It's now been moved to a different server outside their network. They have other sites hosted on the same server, some built using DotNetNuke, and some classic ASP. All these sites are hosted on one application server, with a database (SQL Server 2008) on a separate server (which is on the same network as the application server). They share the application server, and the database server.
Now that this site has been moved to the outside server, they can't access it. I can, and so can others that I work with (from different IPs, across the country). But the client can't from their network. They can access the landing page subsite.clientdomain.com (no db access), but nothing else. So, for instance, there's a link to subsite.clientdomain.com/folder. When they click that link, the URL changes to subsite.com/folder, which does not work. For myself and others not at the client site, the URL does not change and opens with no problems.
I didn't write the site, and didn't even know it existed before this problem cropped up, so I know very little more than this. Any help is appreciated.
I'm going to go with Martijn B's answer. There's a DNS issue on the internal network. Somewhere on of the DNS servers is a definition that maps http://companywebsite to an ip address like 192.168.1.20 or whatever.
I would open a command prompt on your PC and type
ping new_website_name.com
Take a look at the IP address that comes back. You can also do an nslookup on new_website_name.com that will give you more information. If you (person A) gets one IP address and Person B (inside the network) gets a different IP address....there is definitely a DNS issue on the internal network.
You're going to have to do some network tracing to determine exactly where any redirection is occurring. Given that the problem is only manifested in certain locations, it is likely that it is a function of network configuration in that location (as previously suggested). Without understanding exactly what redirection is occurring, it would be unwise to make configuration changes that might make the problem worse or introduce new issues.
A DNS server cannot AFAIK redirect to a different URL. So something is redirecting from subsite.clientdomain.com/folder to subsite.com/folder, which could be caused by a HTTP redirect. This can be triggered by the software/website itself or by IIS.

trouble hosting asp.net on iis

I'm doing some test hosting of an asp.net program I created
I can access it fine from the local machine (both debugging and pointing the virtual directory to it)
I can also access (local) by using the localhost or using the ip
however when i get on a different machine on the same network (i can ping my machine)
I get the following error:
Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.
Does anyone have any idea what I'm doing wrong?
Crash893
EDIT:
I have duplicate this question on serverfault.com
I would generally take a snapshot of the network traffic with Wireshark (or other network sniffer) and see what is happening on the wire. Compare this to a site that works. Windows firewall, a browser proxy, or some other network software may be at fault.

C# and IIS - SSL dropping connections, fine over HTTP

In a testing environment, I self-signed a cert and installed it on a web site in IIS 6. This is using .NET 2.0. Cert seems fine (minus the fact that client services don't fully trust it as one would expect). I can do whatever I want to by hitting the site locally from the server on HTTPS or HTTP.
The problem is coming in when accessing this site remotely. If the page has an exception on it, the connection drops. Not return an error, but just flat-out drops, where the browser says it couldn't find the site (this is after it churns for a few seconds, where I can see TCP traffic from the client IP coming in).
The interesting part is that I can create a blank ASPX page, with nothing on it, and it's fine over HTTPS. But the minute I put throw new Exception(); on the page, it goes back to dropping. By the way, it seems to act completely normal if I hit the same page using HTTP instead.
So I'm a bit stuck. Anyone seen something like this?
My first inclination is to go after the proxy/firewall rules between my remote client machine and the server, but I want to make sure it's not something I could fix before I bug other teams.
EDIT ...looks to be a firewall whitelisting problem. Others on my subnet have the same problem, but people in other locations can hit it just fine.
This is not a proxy or firewall issue, because the Yellow Screen Of Death is just text which transmits through any firewall just fine. Here are a couple things that I would try first.
Make sure that the fact that you are using HTTPS isn't the root cause of the problem, such as the problem isn't caused in your program, by handling HTTPS. Such as some special handling of Error code.
Create a new cert and see if the same issues occures.
Try to reproduce this issue on another machine, it could just be a configuration issue.
Try getting a real cert from GoDaddy, they are only 29.99.
That is all that I can come up with right now. One thing that you didn't mention was which version of IIS you were using, which will be helpful.
Have your thrown the exception and then tested the page using regular HTTP? Is the same thing happening, or does it only happen if you throw an exception and access it using HTTPS?

Resources