This is for a woocommerce site. I pulled the DB and the files locally onto my machine. I do have an SSL but I dont think that is the issue. When I run it locally I get the index page, which is under construction. The minute I try to login to the back admin part of wocommerce it immediately goes to the live URL online. How do I prevent this. I tried renaming the .htaccess thinking it was a redirect but it made no difference. If I shut the internet connection down, it still tries to reach out to the URL but says no internet connection available. Thanks.
Related
I am working on some php files on a shared hosting. I am constantly making changes to the files and then running them in a browser to see the changes.
After a few hours of work, I repeatedly start getting 403 errors and have to wait a few hours to "get back in".
I can open the files in a browser on my mobile phone on the same wifi connection, so it's the same IP, but I cannot open them in a different browser on my computer.
I am assuming the hosting company is blocking me because of the frequent loads. Some of the files I am working on also send out emails via PHPmailer and soon after I start getting the 403 errors, if I continue loading the pages in my mobile browser, PHPmailer stops working. Probably the hosting company blocking me again. Changing to my mobile browser doesn't help with the PHPmailer error.
What I am wondering is if there is some way to bypass the 403 error without using a different device. The PHPmailer error doesn't bother me as much, but a solution to that would also be helpful.
Additional information that may be useful... or not:
I use .htaccess to prevent all IPs except mine from accessing the files.
I tried deleting cookies and changing the DNS.
Tried ipconfig /flushdns and ipconfig/all
Have no idea if those experiments were good ideas or not though... :/
I have read a few answers to try and find a solution to a ridiculous problem.
I dont have access to a server that I can log on to access phpmyadmin,
What is supposed to happen is that the web url is supposed to be viewed via https, and in most cases this happens.
Except for a particular PC I have at home and it never seems to open in https. Why this is happening on this given machine is completely unknown.
Is there a way I can set up a rule on my local machine that will ALWAYS convert http://pathtomysite.com to https://pathtomysecuresite.com, (possibly via the 'hosts' entry (and yes it is a windows machine running win10).
I could do this on the web server itself, I know how to do this, but the problem is, I don't have, nor am I allowed to have, access to the database server to update the .htaccess or webconfig.xml on the server. (I am 99% sure its Apache, not nginx or IIS).
Any help is allows gratefully received.
Recently I started getting The connection was reset. error message (error code is ERR_CONNECTION_RESET) when I open one of my websites. This has nothing to do with application(node.js) level afaik as no changes or deploys were made in the application. To add to this, there were no error logs so I am assuming the request did not even receive the node app. The website is hosted on godaddy and its backend is a elastic beanstalk application. How do I fix this? On the web browser, in the second attempt it automatically loads correctly. But in a iframe which embeds my website, this has become a nasty issue as the browser does not even retry. I did the DNS analysis using dig command and all that but could not find anything relevant. Interesting part is this only happens after some interval (it does not happen continuously). On reload it works without fail.
I'm having a weird issue with a website I have installed on IIS. I can access it if I go to (ip address)/defaultdoc, but not if I go to (ip address):(port). I'm running a debugger on my browser, and the only thing it's doing when I try to access the site with the port is pulling a 404 error. This is really weird to me because the default document for the site is definitely the page that I go to when I pull up the site otherwise. Does anybody have any ideas why this might be happening?
Edit: I'm suddenly not so sure that the default document is working right. In IIS, it says that the default document is what I want, but when I run a list config command, I get something entirely different.
I have been working with IIS 7 for a while and it has worked fine until it just suddenly started throwing 404 errors for my multiple websites even though they actually exist. All of the configurations seems fine (path, default document) but not a single file, no matter the format or location will be loaded.
Another strange thing is that everything works when I try to access the websites via localhost or 127.0.0.1 but not through my external IP.
Does anyone know why this could happen and how I can fix it?
Edit:
It appears this 404 page is not the built in IIS error page. It is associated with nginx but I'm not sure where the file is located on my server or why my pages are being intercepted.
It turns at the server was hijacked by Morfeus F***ing Scanner, which I was not aware was even a thing until this happened. It's activity showed up in the server access logs. I basically had to reset the entire server. It was quite a chore.