I hosted my PHP website on GoDaddy's Gen 4 VPS. after a while of users using it. The website couldn't be accessed by anyone and all the users received DNS_PROBE_FINISHED_NXDOMAIN. The Nameservers were pointed to the server IP and it was working fine. But when this message appears the domain was resolving, server was working and files could be accessed but when trying to open anything on this domain the users receive DNS_PROBE_FINISHED_NXDOMAIN. When restarting the VPS everything works fine. but this problem happens again and again after users use this website again.
Is there any solution for this or even does anyone faced this problem before or knows the root cause of it??
NOTE: The PHP code was tested before launching and the server specs were more than required.
Related
I developed this website using Laravel 5.5 for my research group and uploaded it to my university web host. The website's address is in the format of xxxx.cse.yyyy.edu .
When I browse some pages of this website it gets inaccessible and I can't even access the cse.yyyy.edu subdomain anymore for a while (usually after 10-12 hours). I can ping the IP address of the CSE subdomain but can't ping the domain address (possibly a DNS issue?). Although I am not sure, I think restarting my local router makes the website accessible again.
The only thing out of the ordinary about the website is the insecure login page that is not using https at the moment. Other than that, everything is just straightforward laravel code adopted from the original laravel documentations.
I'd be happy to provide more information but I don't really know what kind of info I should be providing here.
What do you think might be causing this problem? Thank you in advance!
So, I figured what was causing the problem. I asked the system administrator to look into the logs of the web host. Turns out that web hosts can have a blocking mechanism in case too many 404 errors are generated. Turning off that mechanism solved my issue. Note that this wasn't something I could fix on my own and might be the same in your case if you don't have full access to your web server settings.
Well, I have an issue with my localhost.
We have a website hosted at https://papaki.com and I came with the idea to download all the contents of the public_html file and place them to Htdocs (so that I can make changes locally before I upload them to the Web) and so I did.
I also took the entire database and imported it in my PhpMyAdmin, I run the query and everything seemed fine(took 2 hours or so :) ).
Created a user, granted him all privileges on the DB and configured to connect to the DB and then I went to see if it will work.
Typed localhost:81/prestashop on my browser (that's the directory, and also changed the port of xampp because it was interfering with another app) and it redirected me to the online Web server https://somon.gr and not on localhost.
Any help would be greatly appreciated.
Best Regards.
I have domain from namecheap.com and they hosted on my dedicated server with bluehost.com. suddenly since last 2 weeks im facing an issue. on all my domain that i have from namecheap.com hosted on bluehost after browing for few mins gets ERR_CONNECTION_TIME_OUT error and then immediately page reloads automatically. Even on the Cpanel login page of these domains we get the same issue. Though we have some domains registered with bluehost it self and hosted on the same blue host server we dont get this error on those domain. We have contact bluehost they said all is fine from their end, we contacted namecheap.com they said all is good from their end. Now i am stuck what to check and where to check, we have reinstalled the website scripts disabled all the plugins but we still getting this error, it is not all the time when we try to browse website after two three pages we get this error and then its gone then after 2 3 pages it comes again and then gone.
Any sort of suggestions or help will be appreciated.
Typically, an error ERR_CONNECTION_TIMED_OUT occurs when you have intermittent Internet connectivity. I believe you won't face the same problem in other ISP. To fix that, you can try flushing the DNS of your local computer by issuing command ipconfig /flushdnsfrom command prompt. In addition, edit local computer hosts file located at Computer C:\ Windows\ System32\ Drivers\ etc\Hosts, and look for entry like 0.0.0.0 example.com. Remove that entry, save the file and restart your computer.
I am a new android developer and I just finished my log in and registration pages using php and json with android studio, all that done and works fine on localhost.
Then I move all my php files and db to hostgator hosting and I changed the db user and password in my config.php file but I kept the host as localhost, but when I try run log in page on my app it disable me to log in while the input data is correct. I do not what is the wrong it took from me on week with out find solution.
Btw when I put my ip server of hostgator it gives me error 404 but when I put the domain name it works fine.
You don't have a dedicated server. It's a host. So many domains use the same IP. It means that you cannot use IP only. you have to use domain name only.
laravel was working fine when I am hosting with GoDaddy but recently I transferred my domain to hostgator first time on hostgator and so I moved all laravel contents from GoDaddy to Hostgator by downloading everything from ftp then transferred all files over. Database with godaddy and hostgator are different and so I created database in hostgator and implement everything needed but somehow when I load up my page in hostgator my page loads but when I click on any of the links in the page I keep on getting the 404.html.
At first I thought it was because my database info isn't set correctly because it's my first using using hostgator and their database uses localhost instead of like GoDaddy it has an ip for me to use as a host.
Anyways then I uploaded some other things into hostgator which isn't using laravel just normal php with database info and this works fine. So now I am confused if it is because of laravel or it is hostgator? I have no idea where to start looking for what the problem is
I was told by hostgator that they can migrate contents at a charge and everything will work perfectly the same as it was with godaddy but I figured this is a time I can learn if anything happens
I am sorry if this a stupid question. Can someone please give me a hand? Thanks a lot
my folder structure
-root
-public_html
-user-login (laravel folder)
P.S. I have a free account with aws ec2 and I tried transferring all the files into aws-ec2 and I can see other pages fine just that let's say if I try to login it gives me errors which is normal since I didn't have database setup correctly but at least the links works
Alright, I found out why and pretty much my stupidity I believe.
Somehow, as I said using hostgator (without a domain) I was loading the page using http://ip/myname/laravel/public and I can only see the index page any other links gives me error404.
I was still waiting for my domain transfer at that time so I had to load my page with my ip/username in order to load my pages.
Somehow after my domain is transferred and namespace is set in place.
For example my domain is www.domain.com after the transfer is complete and namespace is setup in hostgator now I can load the page as http://www.domain.com/laravel/public AH~ and all links are working fine as before.
No idea what's the real reason behind this but after this, everything works like a charm now
If anyone has an idea the reason why, I wouldn't mind you posting / commenting here to gain my knowledge