VPS: this site can't be reached - iis

I purchased a VPS server, installed IIS, setup domain and published static index.html page. It worked if I go to mydomain.com but 1 or 1.5 hours later it stopped working and I can only see the message The site can't be reached.
The VPS is accessible via Remote desktop and if I locally run the IE I can access mydomain.com but It does not work from outside of the VPS.
If I reboot the VPS server then after a while the page can be accessed again but again it lasts for around 1-1.5hours.
What could be the reason of this?

If it is caused by idle timeout, then your index.html page will not be displayed, this error means that your browser cannot establish a connection with the website you try to reach, because your Internet connection has been interrupted or because your internet service provider has blocked the access to the website.
You can try the following methods to solve this error:
Restart your Internet Router.
Try to visit other websites, to make sure that your Internet connection is working.
If you own another computer/device in your place, then try to visit the website where your receive the "ERR_CONNECTION_CLOSED" error, in order to make sure that the site you 're trying to visit is not blocked from your ISP.
If you have setup a VPN connection, then disconnect from it.
Temporarily disable the Firewall application.

Related

Need help creating captive portal on Windows 10 hotspot

I have been trying to implement a sort of captive portal for users connected to my windows 10 hotspot, I am just trying to make it so when users connect to the hotspot they either get a pop up of the site I'm hosting locally or when they go to any domain in their browser it redirects them to the local site.
I have been trying to follow an already existing post on windows hot spot captive portals but I cannot get it working because I just don't know enough about how it works.
1. Start windows mobile hotspot.
2. Go to Network adapters => Select hotspot adapter => Change IPv4 settings => set 127.0.0.1 as DNS server.
3. Start dnschef with --fakeip = 192.168.137.1
4. Start an http server on 192.168.137.1 and give 302 redirect response to all requests.
I was following these instructions and I was able to get to step 3. At step 3 when the device tries to connect to a domain it has never connected to before it is properly redirected to my site but when I connect to a site like google.com it just doesn't load and wont redirect. It also wont give a captive portal popup when you first connect to the network.
I cannot get past step 3 because I do not understand how to Start an http server on 192.168.137.1 and give 302 redirect response to all requests. Some help on how I would be able to do this would be greatly appreciated, thank you.

http error 500 internal server error from another machine

This is probably something very simple. I set up a simple ASP-based web server on Server 2012R2 and IIS6. The IP address of the web server is 192.168.18.142. I then opened up a browser (Chrome). Any of these URLs bring up the website on the web server just fine.
http://localhost/
http://127.0.0.1/
http://192.168.18.142/
Then I went to a different machine (behind the same router), opened the browser and tried to bring up:
http://192.168.18.142/
However I received this error in the browser:
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.
I even tried turning off the Windows Firewall on the web server to no avail. Any idea what configuration settings to look at?
Why does the URL work when on the web server but not from other machine?

"Connection Reset" Error on accessing IIS 8.5 Server Site

I have create a very simple site in IIS Server version 8.5 using port 85. The site only have one index.html that shows the word "test" the page. When I access the site inside the server I can access it successfully: "http://localhost:85" is working.
Trial 1:
I try accessing it from my computer that is connected to the same network with the server using url "http://servername.test.com:85", the browser goes loading for long time and finally ends in with error "Connection Reset".
Trial 2: I try updating the Site Binding's Host name with our "Vanity Name" and "IP Address", but after this I still get a "Connection Reset" error.
Trial 3: Now I also check for opened ports using netstat, and I can see that port 85 is open. So I don't know why I'm getting Connection Reset error
Trial 4: I added Connection timeout value on the settings. But still I'm getting Connection Reset error.
Please kindly help with advise how to fix this Connection Reset issue. I can't find what is the reason behind this issue. Thank you in advance.
According to your description, I guess you may not bind the right IP address for the servername.test.com domain or use the wrong ip address bind with servername.test.com domain.
I suggest you could firstly try to use the server's ip address to access your web application to make sure you firewall setting and IP setting is right.
If your client server and the IIS server are in the same domain and you have installed an DNS server, then you could access the web site by domain. Details about how to set the DNS server, you could refer to this article.
If you just want to test, you could try to modify the hosts file in the C:\Windows\System32\drivers\etc path in your client server.
For example:
127.0.0.1 www.example.com
I've found the solution. I issue was caused by Firewall enabled on the server and the ports are not opened by the Network Administrators. So I just opened the Ports that I will be using and it works now. Installing IIS Failure Tracing help me catch the error also. Thank you for all those who answered.

Covert home pc to web server steps

I want to convert my home pc to a web server. Already IIS8 has been installed. The sample page has been published on default web site. In windows firewall the port 80 has been opened. I have access to this page through different computers that connect to the same ADSL router. However, when I try to connect to the page from another ISP, I get the error of 'web page not find'. Because I don't have static IP now, I find IP of the server from http://www.whatismyip.com/. I wonder if anybody help my to solve this issue.
One workaround it to use no-ip
http://www.noip.com/
this would give you static IP.
From this point is just normal domain setup.

Domains not loading - server working fine...any ideas?

I run a high volume website and since yesterday it's not working.
My server (for example) 100.0.0.1 is working fine, I can access WHM etc, rootssh no problem....
Yet none of the domains are working, they say cannot find page.
I have my name server setup at Godaddy using domainname.com
Pointing to 3 IPS, 100.0.0.1, 100.0.0.2, 100.0.0.3
All my domains then have ns1.domainname.com, ns2.domainname.com, ns3.domainname.com
As their Nameserver entries.
This was working fine yesterday, now...nothing.
Any ideas on what I can do? Troubleshoot.
Thank you, I am losing alot of trade as I run an high traffic eCommerce website, so would like to get this fixed as soon as possible.
Have you tried using the IP of the server instead of the domain name? Could roll out a DNS issue. You said you can gain root access fine.
Have you checked your firewall to ensure the correct ports are still open?
If you run a netstat command to check what type of traffic is occurring.
Run this command and then try to access the domain or IP to see if the connection is established or if the service is listening. (watch -n 1 netstat -nat)

Resources